Actually it's it's still functional even though it's commented out. If it's not 
commented out I believe you get an error.

I set it to /Library/Java/Home/bin/java -- a bit easier to remember and to 
describe to clients.

Nathan

On Jul 31, 2013, at 8:12 AM, John Huss <[email protected]> wrote:

> # JVM              == 
> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
> (which points to java 1.7)
> 
> You know the pound sign means this line is commented out, right?
> 
> 
> On Wed, Jul 31, 2013 at 12:48 AM, Johan Henselmans <[email protected]> wrote:
> 
> Op 30 jul. 2013, om 19:10 heeft Gavin Eadie <[email protected]> het volgende 
> geschreven:
> 
> > On Jul 30, 2013, at 5:21 AM, Johan Henselmans <[email protected]> wrote:
> >
> >> Unsupported major.minor version 51.0
> >
> > It means that you compiled your classes under a specific JDK, but then try 
> > to run them under older version of JDK. So, you can't run classes compiled 
> > with JDK 6.0 under JDK 5.0. The same with classes compiled under JDK 7.0 
> > when you try to run them under JDK 6.0.
> 
> Thanks Gavin, I understood that, I know I am running 1.6 VM.
> 
> The question was why it did not run with a 1.7 VM.
> I added
> # JVM              == 
> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
> (which points to java 1.7)
> to MacOSClasspath.txt in the MacOS folder, the logging shows that the 
> arguments it is using for firing up is indeed
> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
> and still it is displaying this Unsupported major.minor version.
> 
> I seems that, although wotaskd displays the correct arguments for starting up 
> the application, it actually uses a different way to fire up the app.
> 
> If I start up the app from the command-line it runs with java 1.7.
> 
> I am lost.
> 
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-deploy mailing list      ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-deploy/johan%40netsense.nl
> >
> > This email sent to [email protected]
> 
> Johan Henselmans
> [email protected]
> 
> 
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-deploy/johnthuss%40gmail.com
> 
> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hadfieldn%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to