• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TEXTPAD and CLASSPATH

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a problem similar to those posted in April 2000 (Beginner Forum). Unfortunately, the solution went only halfway to solve the particular case I had.
The problem I had was that I was able to compile in DOS and TEXTPAD but I could only run in DOS. I knew I had to set my class path via SET CLASSPATH and that was what I was trying to do in DOS and via RUN option in Textpad. In KAWA there was an option to do the same thing so no problem.
I finally solved it by adding my source path to the rt.jar source path in the class path in my autoexec.bat, ie. SET CLASSPATH=D:\JDK1.3\RT.JAR;D:\JAVAWORK and reset my PC.
What I don't understand is why JAVA (run) works in DOS if my classpath points to RT.JAR initially and then I just manually add the D:\JAVAWORK just as I used to do in KAWA?


[This message has been edited by James Baud (edited January 07, 2001).]
 
Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic