This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
install junit on unix box
Error Sending Message to Web Service
Java - Importing from a Jar file have touble with set CLASSPATH
javax xml parsers FactoryConfigurationError
NoClassDefFoundError