On 8/5/12 6:21 PM, Alexander Hansen wrote:
> To get system-java-dev you need both the Java runtime and the headers.
> The Mountain Lion upgrade scrubs your old Java runtime. Run "javac" to
> force Software Update to download a new Java runtime for you, and after
> that's done use "fink list -it system-java" to verify that you have
> system-java-dev.
I did a javac on an old Welcome.java file and got the required Welcome.class
file, but I don't see any forced upgrade. When I run fink list -it system-java
I get:
[MacBkPro:~/Macdev/java/htpjava4/Welcome]:-bash:508$: fink list -it system-java
Information about 5688 packages read in 11 seconds.
i system-java3d 0-1 [virtual package representing Java3D]
i system-javaai 0-1 [virtual package representing Java Advanced
Imaging]
If I run:
[MacBkPro:~/Macdev/java/htpjava4/Welcome]:-bash:509$: fink list system-java
Information about 5688 packages read in 2 seconds.
system-java [virtual package]
system-java13 1.3-1 [virtual package representing
Java 1.3]
system-java14 1.4.2-1 [virtual package representing
Java 1.4.2]
system-java15 1.5.0-1 [virtual package representing
Java 1.5.0]
system-java16 1.6.0-1 [virtual package representing
Java 1.6.0]
i system-java3d 0-1 [virtual package representing
Java3D]
i system-javaai 0-1 [virtual package representing
Java Advanced Imaging]
If I try to run the program I just get this error message: Exception in thread
"main" java.lang.NoClassDefFoundError: Welcome1. I assume this is because,
fink still doesn't know where the java system is. I do have the java jdk's
installed (I downloaded the java developer file after upgrading to 10.8, and it
appears to be where it is supposed to be in
/Libraray/Java/JavaVirtualMachines/).
Do I need to do something else to force a software update?
Gary K Olson
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users