aspose file tools*
The moose likes Java in General and the fly likes Solaris JDK1.4 path setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Solaris JDK1.4 path setting" Watch "Solaris JDK1.4 path setting" New topic
Author

Solaris JDK1.4 path setting

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Hi All,
I am using Jdk1.3 and Now i hv installed JDK1.4. I need to set path for JDK1.4 in SOlaris OS. Pls help me out. how to do.
Thanks
jowsaki
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
What shell do you use?
If ksh:
export JAVA_HOME="path to j2sdk1.4.1_01 directory"
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH="paths to class directories":"paths to jar files"
where the "paths to class directories" are directory paths separated by colons. Similarly for "paths to jar files".
Put those in .profile and logout/login.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Hi Barry,
I did everything. Still am getting the same problems. my application is running under tomcat. do i need to change anything in tomcat for setting jdk1.4.
pls update me.
Thanks
Jowsaki
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Sorry, but I understood that you were just a normal user of java. I suggest that you post your message in the Apache/Tomcat section of Javaranch.
I do not know very much about Tomcat to be able to help you. But I will try to learn. - Barry
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
This is what the installation guide says:

(0) Download and Install a Java Development Kit
* Download a Java Development Kit (JDK) release (version 1.2 or later) from:
http://java.sun.com/j2se/
* Install the JDK according to the instructions included with the release.
* Set an environment variable JAVA_HOME to the pathname of the directory
into which you installed the JDK release.

So what errors do you get printed out when you run tomcat?
Another question: how are you starting Tomcat? Manually or in some system startup script?
[ January 28, 2003: Message edited by: Barry Gaunt ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Solaris JDK1.4 path setting
 
Similar Threads
classpath settings
how to set path for JDK1.4 in solaris
Error while converting XSD using Jar
Setting up Java
how to make a war file