Re: Java Error on startup of App
Re: Java Error on startup of App
- Subject: Re: Java Error on startup of App
- From: Gino Pacitti <email@hidden>
- Date: Tue, 30 May 2006 17:16:01 +0100
Thanks Gary
All I did was change the compiler settings for source to 1.4 and it
worked great
Gino
On 30 May 2006, at 16:27, Gary Teter wrote:
Here's what I used when I had to upgrade to Java 1.5. Don't know if
these instructions still hold for Xcode 2.3, but it's worth a shot:
Double-click Application Server target in Xcode.
Select Java Compiler Settings.
Set Target VM version to 1.4
Set Source Version to 1.4
Add this to Other Compiler Flags:
-bootclasspath "$(LOCAL_LIBRARY_DIR)/Java/Home/../../1.4/Classes/
classes.jar"
Then, with the popup menu at the upper left, switch from "Settings
show [Development] configuration" to each of the other
configurations (Deployment, Webserver, Default, etc.) and make all
the same changes to the Target VM, Source and Other Compiler Flags.
On May 30, 2006, at 6:30 AM, Gino Pacitti wrote:
Hi Patrick
I tried this and did not really help.
I thought it was correct but I tried this all the way back to
1.3.1 and did not address the situation..
Still the same error...
Is there a global way to set the compiler to use an earlier JVM
Gino
On 30 May 2006, at 12:14, Patrick Middleton wrote:
On 30 May 2006, at 11:43, Gino Pacitti wrote:
Hi All
I have been running an app on Tiger server + latest Webobjects
run environment and recently updated development to the latest
XCode 2.3
Now I have tried to build an existing running app and when I try
to start it I get a error - this runs on the client but problem
is when I upload to the server:
java.lang.UnsupportedClassVersionError: Application (Unsupported
major.minor version 49.0)
Any ideas what this could be?
Gino
The JVM on the target machine has encountered a classfile in JDK
1.5 format. This most likely means you built using the JDK 1.5
compiler, which became the default after a recent software
update, and the machine on which you are trying to deploy is
still using the 1.4.2 JRE. Since WebObjects has not (yet?) been
qualified for Java 5, you are best off rebuilding using JDK 1.4*,
see also http://docs.info.apple.com/article.html?artnum=75505 ,
as per Cliff Tuel's email "Re: Java 1.5 & WO?' of Tue, 25 Apr
2006 16:07:21 -0700 (PDT).
-- Patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40wirehose.com
This email sent to email@hidden
--
WireHose: Smart metadata and personalization for WebObjects.
http://www.wirehose.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden