jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes error message, setting classpath in UNIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error message, setting classpath in UNIX" Watch "error message, setting classpath in UNIX" New topic
Author

error message, setting classpath in UNIX

Pip Vo
Greenhorn

Joined: Jul 18, 2001
Posts: 12
I am getting this error message:
java StackApp
Exception in thread "main" java.lang.NoClassDefFoundError: StackApp
From previous messages on the forum, I figure I have to set
my classpath name to the directory my files are in.
Does anyone know how to do this in UNIX? Do I need to add
it to my .cshrc file? Please advise.
Thank you!
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
The classpath instructions for Solaris:
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/classpath.html
The installation instructions for unix (both solaris and linux) http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error message, setting classpath in UNIX