I was finally able to make this work. I searched google for "fink java
detection" to see if I could figure out what was going on from the source
and stumbled upon this post -
http://sourceforge.net/mailarchive/message.php?msg_id=29647282

I followed posted suggestion and installed "Java for OS X 2012-006" from
http://support.apple.com/downloads#osxmountainlion and it worked.

I THINK the different was that java from the apple developer downloads
installs to /Library/Java... while the java in the link above installs to
/System/Library/Java...
The hilarious thing is that I actually moved the java from
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/ to
/Library/Java/JavaVirtualMachines/1.6.0.jdk after your response. I didn't
notice that yours was in /System... though.

Thanks for the reply. Going back to my corner to cry now.


Alexander Hansen-2 wrote:
> 
> On 11/5/12 8:29 AM, daverstevens wrote:
>> 
>> I am attempting to install some packages on a brand new Macbook pro
>> running
>> OS 10.8.2 with Fink 0.34.4. The error I am getting is the same 'Can't
>> resolve dependency "system-java-dev (>= 1.5-1)" for package
>> "libidn-1.22-6"'
>> that appears to be quite common in the last few years.
>> 
>> I have spent extensive time searching old posts on this issue and I think
>> I
>> have tried everything that was recommended. Basically I feel like tossing
>> my
>> new MBP 13 inch retina out the window like a frisbee at this point. Does
>> anyone have any thoughts or suggestions?
>> 
>> I have installed both of the java dmg's from
>> https://developer.apple.com/downloads/index.action
>>  - javadeveloper_for_os_x_2012006__11m3909.dmg
>>  - javadeveloper_for_os_x_2012005__11m3811.dmg
>> 
>> ~$ fink -v
>> Fink 0.34.4
>> 
>> ~$ which java
>> /usr/bin/java
>> 
>> ~$ java -version
>> java version "1.6.0_37"
>> Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
>> 
>> ~$ /usr/libexec/java_home -t CommandLine -V
>> Matching Java Virtual Machines (4):
>>     1.6.0_37-b06-434, x86_64:        "Java SE 6"
>> /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
>>     1.6.0_37-b06-434, i386:  "Java SE 6"
>> /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
>>     1.6.0_35-b10-428, x86_64:        "Java SE 6"
>> /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
>>     1.6.0_35-b10-428, i386:  "Java SE 6"
>> /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home
>> 
>> /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
>> 
>> ~$ fink-virtual-pkgs --debug 2>&1 | grep "checking Java" -A 11
>> - checking Java versions:
>>   - 1.6.0... nothing
>>   - 1.6... nothing
>>   - 1.5.0... nothing
>>   - 1.5... nothing
>>   - 1.5... nothing
>>   - 1.4.2... nothing
>>   - 1.4... nothing
>>   - 1.4... nothing
>>   - 1.3... nothing
>> - searching for java3d... found
>> /System/Library/Java/Extensions/j3dcore.jar
>> - searching for javaai... found
>> /System/Library/Java/Extensions/jai_core.jar
>> 
>> ~$ ll /usr/bin/java
>> lrwxr-xr-x  1 root  wheel    74B Nov  4 21:47 /usr/bin/java@ ->
>> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
>> 
>> ~$ ll /System/Library/Frameworks/JavaVM.framework/Versions/
>> total 64
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.4@ -> CurrentJDK
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.4.2@ -> CurrentJDK
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.5@ -> CurrentJDK
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.5.0@ -> CurrentJDK
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.6@ -> CurrentJDK
>> lrwxr-xr-x  1 root  wheel    10B Nov  4 21:47 1.6.0@ -> CurrentJDK
>> drwxr-xr-x  9 root  wheel   306B Nov  4 21:47 A/
>> lrwxr-xr-x  1 root  wheel     1B Nov  4 21:47 Current@ -> A
>> lrwxr-xr-x  1 root  wheel    59B Nov  4 21:47 CurrentJDK@ ->
>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
>> 
> 
> I get (10.8.2):
> 
> Alexanders-MacBook-Pro:fink hansen$ /usr/libexec/java_home -t CommandLine
> -V
> Matching Java Virtual Machines (2):
>     1.6.0_37-b06-434, x86_64: "Java SE 6"
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>     1.6.0_37-b06-434, i386:   "Java SE 6"
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> 
> As a workaround, see if you can proceed by removing the system-java
> dependency locally:
> 
> http://finkers.wordpress.com/2009/07/24/creating-local-packages/
> 
> The Java detection code appears to need some improvement, but since I
> don't reproduce the problem it makes it hard for me to do this.  That,
> and I have extremely limited time right now.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/
> 
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
> _______________________________________________
> Fink-beginners mailing list
> Fink-beginners@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.beginners
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
> 
> 
-- 
View this message in context: 
http://old.nabble.com/Yet-another-question-about-%27system-java-dev%27-tp34642972p34645216.html
Sent from the fink-beginners mailing list archive at Nabble.com.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to