Re: WO 5.2.2 - Getting an app to launch - java.lang.NoClassDefFoundError
Re: WO 5.2.2 - Getting an app to launch - java.lang.NoClassDefFoundError
- Subject: Re: WO 5.2.2 - Getting an app to launch - java.lang.NoClassDefFoundError
- From: George Domurot <email@hidden>
- Date: Thu, 30 Oct 2003 12:54:08 -0500
Cliff:
Thank you for your assistance. The CurrentJDK did point to 1.3.1. I
updated it to 1.4.1, as follows:
drwxr-xr-x 3 root wheel 102 17 Jan 2003 1.2
drwxr-xr-x 3 root wheel 102 17 Jan 2003 1.3
drwxr-xr-x 7 root wheel 238 24 Sep 02:39 1.3.1
drwxr-xr-x 5 root wheel 170 17 Oct 21:47 1.4.1
drwxr-xr-x 5 root wheel 170 27 Oct 13:33 A
lrwxr-xr-x 1 root wheel 1 25 Jan 2003 Current -> A
lrwxr-xr-x 1 root wheel 5 30 Oct 12:33 CurrentJDK -> 1.4.1
I then selected Clean All, then Build and Run. The build failed with 1
error:
/bin/sh: line 4: /usr/bin/javac: No such file or directory
...failed JavaCompile.default <CompileJava>_WOServerTest522.tmp ...
After this error, I rebooted the machine, delete the test app and
recreated it. The same error persists.
Do you still feel I require a reinstallation of Panther?
Thanks for the help.
-George
On Oct 30, 2003, at 11:04 AM, Cliff Tuel wrote:
>> I checked online at apple.com/support for the update. It is currently
>> disabled. Here's the information you get when selecting the update:
>
> George, the KBase article you found applies only to Jaguar (10.2) not
> Panther. Panther already includes Java 1.4.1 as the default VM. Try
> this
> from Terminal:
>
> % cd /System/Library/Frameworks/JavaVM.framework/Versions
> % ls -l
> total 16
> drwxr-xr-x 3 root wheel 102 28 Sep 00:08 1.2
> drwxr-xr-x 3 root wheel 102 28 Sep 00:08 1.3
> drwxr-xr-x 8 root wheel 272 23 Sep 23:39 1.3.1
> drwxr-xr-x 8 root wheel 272 17 Oct 18:47 1.4.1
> drwxr-xr-x 5 root wheel 170 27 Oct 10:33 A
> lrwxr-xr-x 1 root wheel 1 1 Oct 13:02 Current -> A
> lrwxr-xr-x 1 root wheel 5 30 Oct 07:56 CurrentJDK -> 1.4.1
>
> If your CurrentJDK link points to 1.3.1, do this:
>
> % sudo rm CurrentJDK
> <enter your admin password>
> % sudo ln -s 1.4.1 CurrentJDK
>
> Now do a clean-build of your app, and recompile. If that doesn't
> help, I'd
> recommend re-installing Panther.
>
> --
> Cliff Tuel email@hidden http://apple.com/services/technicalsupport
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.