• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snow Leopard, Java 1.7, WebObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard, Java 1.7, WebObjects


  • Subject: Re: Snow Leopard, Java 1.7, WebObjects
  • From: Nathan Hadfield <email@hidden>
  • Date: Wed, 31 Jul 2013 12:50:53 -0600

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@hidden> 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@hidden> wrote:

Op 30 jul. 2013, om 19:10 heeft Gavin Eadie <email@hidden> het volgende geschreven:

> On Jul 30, 2013, at 5:21 AM, Johan Henselmans <email@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

Johan Henselmans
email@hidden




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

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: This email sent to email@hidden
References: 
 >Re: Snow Leopard, Java 1.7, WebObjects (From: John Huss <email@hidden>)

  • Prev by Date: Re: AjaxModalDialog and AjaxDatePicker
  • Next by Date: Re: AjaxModalDialog and AjaxDatePicker
  • Previous by thread: Re: Snow Leopard, Java 1.7, WebObjects
  • Next by thread: AjaxModalDialog and AjaxDatePicker
  • Index(es):
    • Date
    • Thread