Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

error message, setting classpath in UNIX

Pip Vo

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"

Joined: Sep 29, 2000
Posts: 8521
The classpath instructions for Solaris:
The installation instructions for unix (both solaris and linux)

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: error message, setting classpath in UNIX
Similar Threads
javax xml parsers FactoryConfigurationError
install junit on unix box
Error Sending Message to Web Service
Java - Importing from a Jar file have touble with set CLASSPATH