Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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
javax xml parsers FactoryConfigurationError
install junit on unix box
NoClassDefFoundError
Error Sending Message to Web Service
Java - Importing from a Jar file have touble with set CLASSPATH