File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specifiying Java Version

 
Tanya Green
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using Java on a Solaris 2.6 machine. There is currently a version of Java installed on the box, version 1.2. I have recently installed Java 1.3 also compatitible with Solaris 2.6. How do tell the system which version to use?
When I run the command java -version...it points to the 1.2 version. I thought I may need to alter my .cshrc file, but that doesn't seem to work.
Thanks in advance
 
Nigel Browne
Ranch Hand
Pie
Posts: 682
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The system variable PATH needs to be edited to point at the 1.3 version of the SDK.
HTH
Nigel
 
Tanya Green
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok...can I do this in my home directory. There is a .cshrc file in my /export/home directory....right now it has a value
set path=(/vin /usr/bin /usr/ucb /etc .)
Can I just add it to the end...value?
Not that familiar with the Unix world.....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic