setting classpath in sun solaris
can anyone please tell me how to set classpath for
external class files in sun solaris.
Re: setting classpath in sun solaris
"Karthik" <email@example.com> wrote:
>can anyone please tell me how to set classpath for
>external class files in sun solaris.
It depends on the shell you are using - if you are using the CSH or a derivative
(e.g. tcsh) then you want to use -
setenv CLASSPATH path_to_files:another_path:another etc.
(Of course, replace "path_to_files" etc. with the disk path to where the
external class files are stored. Note you can specify as many paths as you
like, separated by colons)
If you are using the SH or a derivative (e.g. bash) then you want to use
You should save the command you use into your startup file (e.g. .login,
.profile or the like) so that it automatically executes every time you log
in, setting up your environment for you.
All the best,
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL