• 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: Deploying for Java 1.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deploying for Java 1.6


  • Subject: Re: Deploying for Java 1.6
  • From: Johnny Miller <email@hidden>
  • Date: Mon, 07 Jan 2013 15:07:13 -1000

I think I'm running Java 1.6?

If I run "which java" from the command line I get /usr/bin/java and if I run java -version I get Java 1.6.0_26.

Is there something else I can check?

On Jan 7, 2013, at 2:58 PM, Chuck Hill <email@hidden> wrote:

> Are you SURE you are running with a 1.5 JVM on that machine?
>
>
> On 2013-01-07, at 4:53 PM, Johnny Miller wrote:
>
>> Hi,
>>
>> I have a system running OS X 10.5.8 with Java 1.6.0_26
>>
>> I've been compiling applications for this environment for Java 1.5.  But I had an app that was using ERXFileUtilities.stringFromFile(File f) and that requires Java 1.6 in the newer versions of Wonder.  So I tried compiling my app for Java 1.6 but when I go to deploy it I get the following error:
>>
>> /Library/WebObjects/Extensions/
>> java.lang.UnsupportedClassVersionError: Bad version number in .class file
>>        at java.lang.ClassLoader.defineClass1(Native Method)
>>        at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
>>        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>        at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84)
>>
>> I'm kind of confused how to fix this... does anybody have a suggestion?
>>
>> Aloha,
>> Mr. Johnny Miller
>> Web Development Manager
>> Kahalawai Media Company
>> Lahaina, HI 96761
>> tel: (808) 661-7962 | mobile: (808) 283-0791
>> website | e-mail
>>
>> _______________________________________________
>> 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
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/gvc/practical_webobjects
>
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
>
>
>
>
>
>
>
>


 _______________________________________________
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


  • Follow-Ups:
    • Re: Deploying for Java 1.6
      • From: Theodore Petrosky <email@hidden>
References: 
 >Deploying for Java 1.6 (From: Johnny Miller <email@hidden>)

  • Prev by Date: Deploying for Java 1.6
  • Next by Date: Re: Deploying for Java 1.6
  • Previous by thread: Deploying for Java 1.6
  • Next by thread: Re: Deploying for Java 1.6
  • Index(es):
    • Date
    • Thread