Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

class path  RSS feed

 
chary
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai
Today i download weblogic6.1, and i installed on Windows NT, when i compiled EJB program , the error is like this
javax.ejb.EJBObject is not found,
i dont the path to set. pls give me the
classpath.
please give me the solution, how to set the path in window NT and also CODE also.
thanks and regard
Great B.C
 
le taylom
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay,
How are you compiling your code? Within an IDE or from the command line.
Are you new to Java? If so why are you starting with EJB's? The weblogic download comes with a jar file that contains all of the classes necessary for J2EE development. It can be found here:
\beahome\wlserver6.1\lib\weblogic.jar
To set your classpath for a shell do:
set classpath=\beahome\wlserver6.1\lib\weblogic.jar
this then points to the .jar file.
To set it for all shells go to start\settings\control panel\system\env variables and add set up a classpath variable here.
Helps??
T
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!