• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassPath not being updated.

 
Asuthosh Borikar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have installed Weblogic Server on Windows '98 and I am trying to compile the example beans. The compiler is not finding the javax packages. I have included the weblogicaux.jar file in classpath, by editing autoexec.bat file. But, when I open an MS-DOS prompt window and type ehco%classpath%, I don't see the changes I've made to the autoexec.bat file. Could someone please help me?
Thanks.
Asuthosh.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have to restart your computer for changes in the autoexec.bat file to take effect in Windows 98...
-Nate
 
Allen Alchian
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As an alternative to changing the CLASSPATH environmental variable in your autoexec.bat and then rebooting, you can simply change the CLASSPATH environmental variable right at the dos prompt by entering...
c:\>set classpath=.;c:\jdk1.2.2\jre\classes;c:\whatever
Then you can see that the change has taken effect by using the dos command ...
echo %classpath%
...and all without rebooting!
 
Asuthosh Borikar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nate & Allen,
Thanks for your help!
-Asuthosh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic