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

Deploying for Java 1.6


  • Subject: Deploying for Java 1.6
  • From: Johnny Miller <email@hidden>
  • Date: Mon, 07 Jan 2013 14:53:23 -1000

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

  • Prev by Date: Re: Wonder 6.0.0 release is near
  • Next by Date: Re: Deploying for Java 1.6
  • Previous by thread: Re: [Announce] WOCommunity repository for CentOS/RedHat Linux
  • Next by thread: Re: Deploying for Java 1.6
  • Index(es):
    • Date
    • Thread