• 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
Switching version of Java for appserver user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching version of Java for appserver user


  • Subject: Switching version of Java for appserver user
  • From: "Mr. Frank Cobia" <email@hidden>
  • Date: Tue, 25 Aug 2009 12:43:38 -0400

I am currently having trouble deploying an application under JavaMonitor because of "incompatible version" errors on a class file. When I launch the app as admin, the app launches fine. I finally traced the problem to the fact that when the appserver user invokes java it is 1.5 but when admin does it is 1.6. See the terminal transcript below.

app2:Logs admin$ sudo -u appserver /usr/bin/java -version
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19- b02-304)
Java HotSpot(TM) Server VM (build 1.5.0_19-137, mixed mode)
app2:Logs admin$ /usr/bin/java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)



How can I set it so that when appserver invokes java it is using version 1.6?


Thanks
Frank
_______________________________________________
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: Switching version of Java for appserver user
      • From: "Mr. Frank Cobia" <email@hidden>
  • Prev by Date: WO Developers available
  • Next by Date: Custom D2W Component
  • Previous by thread: WO Developers available
  • Next by thread: Re: Switching version of Java for appserver user
  • Index(es):
    • Date
    • Thread