Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Java in Solaris 10

Thread view: 
anand.srikantaiah@gmail.com - 18 Apr 2006 18:53 GMT
I am a bigineer in solaris 10, can some one give me guide lines on how
to compile and run java programs on solaris 10.
Daniel Dyer - 18 Apr 2006 22:02 GMT
> I am a bigineer in solaris 10, can some one give me guide lines on how
> to compile and run java programs on solaris 10.

From the command line or with an IDE?

Either way it's pretty much the same as it is on Windows and Linux,  
assuming the tools are all installed.  Are you familiar with a UNIX-style  
shell?  The default shell on Solaris is not much fun (backspace and  
command history don't work as you would expect), but you can replace it  
for the remainder of the session with bash or some other shell of your  
choosing (you need root access to edit /etc/passwd to change it  
permanently).  To switch to bash run:

    exec bash

Solaris 10 comes with the JDK pre-installed.  So from the command line you  
can run:

    java -version

And this will tell you what version you have (or give you an error if  
there is no java on the path).

Are you familiar with the JDK's command line tools on another platform?  
The java and javac tools work just as they do in Windows and Linux:

    javac HelloWorld.java
    java HelloWorld

Dan.

Signature

Daniel Dyer
http://www.dandyer.co.uk

anand.srikantaiah@gmail.com - 19 Apr 2006 13:09 GMT
Than you Dan, that was a great help.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.