• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Specifiying Java Version

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.....
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic