Sponsored Content
Operating Systems Solaris Setting link to newly installed Java version Post 302199722 by harjitsingh on Tuesday 27th of May 2008 07:37:47 PM
Old 05-27-2008
Setting link to newly installed Java version

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 do the link then please tell me how to do that and if I have to set the PATH then tell me how to do that too...

Help is very much appreciated.

Thanks in advance!!
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to Find the OS version Installed

Hi, I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present. Thanx in advance for your help. Regards, Pankaj (3 Replies)
Discussion started by: pankschawla
3 Replies

2. Shell Programming and Scripting

Which version of perl is installed on my system?

Hi, With the command perl -v i can see the perl version, but it's like a text file.. is there a command which could give me just the perl version number? i.e.: "5.8.1" thanks!! (6 Replies)
Discussion started by: kfad
6 Replies

3. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

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)
Discussion started by: lhareigh890
1 Replies

4. Shell Programming and Scripting

installed java version ?

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)
Discussion started by: sridhardwh
3 Replies

5. Shell Programming and Scripting

Setting java and returning version

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.... (1 Reply)
Discussion started by: bigbenn
1 Replies

6. Solaris

Could not logon to newly installed Solaris 11.2

Dear Solaris 11 experts, I can not logon to a newly installed Solaris 5.11 11.2 i86pc i386 i86pc just downloaded today, despite having entered username and password to be created. However, I cannot get on to this workstation after Solaris installation completion. Can you advice how to reset my... (5 Replies)
Discussion started by: gjackson123
5 Replies

7. HP-UX

Setting up new version of java

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)
Discussion started by: anaigini45
1 Replies

8. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
libglpk-java(3) 					       libglpk-java overview						   libglpk-java(3)

NAME
libglpk-java - GNU Linear Programming Kit Java Binding DESCRIPTION
The GNU Linear Programming Kit (GLPK) package supplies a solver for large scale linear programming (LP) and mixed integer programming (MIP). The GLPK project is hosted at http://www.gnu.org/software/glpk. It has two mailing lists: - help-glpk@gnu.org and - bug-glpk@gnu.org. To subscribe to one of these lists, please, send an empty mail with a Subject: header line of just "subscribe" to the list. GLPK provides a library written in C and a standalone solver. The source code provided at ftp://gnu.ftp.org/gnu/glpk/ contains the docu- mentation of the library in file doc/glpk.pdf. The Java platform provides the Java Native Interface (JNI) to integrate non-Java language libraries into Java applications. Project GLPK for Java delivers a Java Binding for GLPK. It is hosted at http://glpk-java.sourceforge.net/. To report problems and suggestions concerning GLPK for Java, please, send an email to the author at xypron.glpk@gmx.de. ARCHITECTURE
A GLPK for Java application will consist of the following - the GLPK library - the GLPK for Java JNI library - the GLPK for Java class library - the application code. GLPK LIBRARY
The GLPK library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribution. Precompiled packages are available in many Linux distributions. The usual installation path for the library is /usr/local/lib/libglpk.so. The library has to be in the search path for binaries. GLPK FOR JAVA JNI LIBRARY
The GLPK for Java JNI library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribu- tion. The usual installation path for the library is /usr/local/lib/jni/libglpk-java.so. The library has to be in the search path for binaries. Specify the library path upon invocation of the application, e.g. java -Djava.library.path=/usr/local/libjni GLPK FOR JAVA CLASS LIBRARY
The source code to compile the GLPK for Java class library is provided at http://glpk-java.sourceforge.net. The GLPK for Java class library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribu- tion. The usual installation path for the library is /usr/local/share/java/glpk-java.jar. The library has to be in the CLASSPATH. Specify the classpath upon invocation of the application, e.g. java -classpath /usr/local/share/java/glpk-java.jar;. SEE ALSO
Further documentation and examples can be found in the documentation path, which defaults to /usr/local/share/doc/libglpk-java. version 1.0.18 September 10th, 2011 libglpk-java(3)
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy