• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Solaris JDK1.4 path setting

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic