File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes Setting CLASSPATH Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Setting CLASSPATH" Watch "Setting CLASSPATH" New topic
Author

Setting CLASSPATH

Ghulam Rashid
Ranch Hand

Joined: Jan 14, 2002
Posts: 278
UNIX Gurus -
Have anyone installed Cygwin(UNIX Emulator) on Windows 2000. I am unable to set the CLASSPATH. Also, some of the UNIX command is not working. Can any one help me setting the CLASSPATH.
Thanx
Rashid
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
I'm afraid it looks like no one here is skilled with cygwin. The only time I ever used it was for C development, and I never needed to set environment variables.
Can you tell us what you have tried that didn't work? Maybe it will spark some memories...


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

As far as I can tell, there is not a way to set the CLASSPATH on load since there is not the typical .bashrc or .bash_profile files to set this in. So what I would do is set the CLASSPATH at compile time. Or just write your own script that set's it for you then run that script after you start cygwin.


My Blog | DZone Articles
 
 
subject: Setting CLASSPATH
 
Threads others viewed
java command
HeadFirst Servlets & JSP importing a package
Just learning
javac running slow
HFS page 171
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com