This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Solaris JDK1.4 path setting

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic