I am currently trying to write a script and I am not that great at wording it with taking in user input, it will do the following:
ask " Have you stopped instances? "
if instances are stopped, then I want it to change to the default java to 64 bits, and print the current version of java.
Afterwards I want it to return the default back to 32 bits.
Basically I want it to remove the existing symlink and recreate a new link to point to the other java version and display the info.
any and all help is GREATLY appreciated, thanx
Usually, it is sufficient to set the $PATH so that the desired JAVA is before competing paths. However, to set a symlink is just "ln -s source_path target_path". The source path, if relative, needs to relative to the target path dir. Removing a symbolic link is just "rm target_path".
Some versions of JAVA also have a server mode, as opposed to a client mode, where there is more exhaustive compilation in the server mode; the client mode is more restrained, optimized for quick startup.
Last edited by DGPickett; 07-10-2013 at 03:43 PM..
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)
Hi,
i written class like this but it is not returning any results and infact p.waitFor() is returning value 1. This is very basic program that i am planning to run in unix. This is really killing my time and unable to find correct reason.... (6 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
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)
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)
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 All,:)
In my application malloc is returning NULL even though there is sufficient amount of free memory available but the swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?
Few details:
... (4 Replies)
Hi,
I have Solaris 8 wih Java 1.2.2 as default. I just upgraded it to Java 2 version 1.4. But when I do "java -version: I get following:
"Java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunjwit)
How would I make solaris to look at my new java?
If I have to... (4 Replies)