• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About Solaris

 
Shakti Palo
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai everybody !!
Does anybody knows Solaris ? If yes kindly let me know about the environmental settings for executing java.

With Thanks to all
Shakti
sp.palo@gmail.com
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have had experience running java almost on any platforms(win32, win ia64, aix, linux, solaris sparc or x86, irix, hpux) and they are all the same (except ; vs : on path separation). Is java installed and is in your path? If yes, just do a java -jar runme.jar. If it is not installed, just install it , it's just an executable that will extract itself which you can download from sun's site. If I didn't answer your question, can you be more specific on your question?
[ March 19, 2006: Message edited by: Ed Tse ]
 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shakti:
I use Solaris 10 (x86 version) on my PC at home. It is fun.

These 2 commands help me with my CLASSPATH:

CLASSPATH=/bobs_javas/myproj/
export CLASSPATH

I have no idea where my JAVA_HOME environment variable is being set. It is not in my .envfile and not in my .profile.

But I know that when I say "java -version", this is what happens:

consman01 /home/consman01>java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
consman01 /home/consman01>

I hope this helps.
--bob
 
B Chen
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bob Nedwor:
I have no idea where my JAVA_HOME environment variable is being set. It is not in my .envfile and not in my .profile.


Maybe in /etc/profile ?
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think JAVA_HOME needed to be set in your profile. A default setup usually have /usr/bin pathed and a softlink is created as /usr/bin/java. If you want to install a new java 1.5.0, just go download it and put it in some where and recreate a softlink that points to your new java directory.

Fun factor of Solaris x86 is not much for me, as I don't find a solaris useful personally. If you want to get a feel for the *nix, I would recommend a linux which I use regularly (not for this assignment) Given that, I do have a vmware image for solaris x86 for testing purpose for this assignment.
[ March 20, 2006: Message edited by: Ed Tse ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11878
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Linux/UNIX forum.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18154
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java under Solaris and Java under Linux are almost the same. The main difference is that (In My Humble Opinion), the conventional place where the JDKs get installed is a little saner in Linux than in Sun's own OS.

JAVA_HOME is not even used by Java itself - it's just a convention that many Java apps have taken as a locator for the JDK to be used. Tomcat and WebLogic are two such apps.

CLASSPATH of course, is always popular. But in a lot of my stuff it's empty, since I get my class path from other sources.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic