• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

working with jess in java

 
suguna ramesh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have imported jess.* in to a java program.

when i executed it i got an error "jess package does not exist"

i have copied the jess.jar to the bin of java and even i have set the CLASSPATH in environment variables to the path of jess.jar in the jess folder. but still i am getting the same error.

can any one help me.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

i have copied the jess.jar to the bin of java

That is not a good idea. That directory is for the executables of the JDK, not for any jar files. Keep the file in the Jess directory and reference it there.

What does the CLASSPATH variable look like, and which command do you use to run the program?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic