Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error message, setting classpath in UNIX

 
Pip Vo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic