Check your application documentation to see where it expects to find Java.
Many Java applications expect Java to be located in a specific directory, for example '/usr/java', '/usr/bin/java', or wherever.
If you (for example):
it will show you that this directory is symbolically linked to the actual Java directory, V1.6, V1.8, or whatever.
When you installed 1.8 the 1.6 directory was not removed so you have two versions to choose from. You might well need to change the link from the 1.6 directory to point to the 1.8 directory.
Many applications do not utilise $JAVA_HOME but expect to find Java in a specific directory. Find out from the application documentation what path that is.
---------- Post updated at 10:24 PM ---------- Previous update was at 10:19 PM ----------
Another thought is, does the application definitely need 64-bit Java or is it looking for 32-bit Java?
---------- Post updated at 10:25 PM ---------- Previous update was at 10:24 PM ----------
Perhaps you ought to post your hardware type, OS and version
Hi
When I say java -version, the following text is printed
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20060421 (SR5) (JIT enabled: jitc))
Is there a way to echo Java version? (1 Reply)
I have an issue here setting up ASR with a server.
In order to have the SASM service runnning/enabled, the required java version is 1.6 U18(latest). My OS came with JDK 1.5
I downloaded and installed 1.6
But when I did java -version , its still showing 1.5
I captured the below from another... (4 Replies)
Hi Guys,
I am new here, Currently i am having a problem. below is the information to my problem
I have Java version 5 installed on my solaris box and currently there is a request to install java version 6 as well on the same box. Can i have 2 java running on the same box? If yes how do i... (1 Reply)
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
hi
my box is a global zone with no local zones and the command java -version shows as "1.5.0_26".
now we got a requirement from the application team to install jdk1.5.0_24. Is it possible to install the version of java(jdk1.5.0_24) as requested by the application team or is it possible to... (2 Replies)
Hi,
I want to know what version of the java is installed?
Please let me know the command or process to identify the installed java version in sun solaris box.
Thanks in advance for all your support. (3 Replies)
Hi,
I am trying to downgrade the version of rsyslog to the older version (i.e) and when i issue the below command to check the packages i dont see the required package (i.e)
and when i try to install it is complaining about package not found.
Please advise on how to install the... (1 Reply)
Hello, I'm trying to run a program that needs java 7, but java 6 is in the default folder and I don't have permission to change the /usr/bin/java folder and change the version.
I have java 7 downloaded in a different folder (~/java) and am wondering how I can use that version while running the... (1 Reply)
Hi,
I have got jre 1.5 that I have got to install in the HP.UX version 11.31.
I managed to install it with this command :
# swinstall -s /tmp/<jre.XXXXX.depot>
It automatically gets created in /opt/java1.5/jre/bin.
However, now I am not sure how to set the PATH to JAVA_HOME, and path to... (1 Reply)