[Ilugc] app cannot find sun java

  • From: raju.rajsand@xxxxxxxxx (Rajagopal Swaminathan)
  • Date: Tue, 27 Dec 2011 16:17:53 +0530

Greetings,

On Thu, Dec 22, 2011 at 8:56 PM, kenneth gonsalves
<lawgon at thenilgiris.com> wrote:

? ? ? ? Try setting JAVA_HOME to /usr/java/jdk1.6.0_30/default/ .
That's what(the equivalent of it) I have here. Thanks

export JAVA_HOME=/usr/java/jdk1.6.0_30

works - thanks a lot

Apologies for jumping in late into this thread.

There is a command "alternatives" which can be used to set and switch
between various java (or for that matter any application) of different
 versions.

I had to fight with this command to set the system for developers who
develop apps across versions of Java, PHP, Python -- Common scenario
for those who develop apps in Centos 4.x/5.x .

HTH in future.
-- 
Regards,

Rajagopal

Other related posts: