Hi, i just downloaded a .jar file and was trying to use it and it didn't work. I'm using windows 2000, jre 1.3.1. I put the file in C:\jdk1.3.1\jre\lib\ext\ and java told me that it couldn't find a class that i know is in there (i looked with forte). Then i tried to change my classpath. where do you do this? so i tried a command line i.e. set classpath=%classpath%;C:\jdk1.3.1\jre\lib\ext\the.jar; but this didn't work so i uncompressed the jar into the file and now, for some reason, it works. but if i take away the decompressed file, it doesnt. What is going on here?
Greg Harris
Ranch Hand
Joined: Apr 12, 2001
Posts: 1012
posted
0
what command are you using to run the .jar file? you have to type: C:\ java -jar filename.jar
what?
Paul Bailey
Ranch Hand
Joined: Oct 20, 2000
Posts: 91
posted
0
Originally posted by Greg Harris: what command are you using to run the .jar file? you have to type: C:\ [b]java -jar filename.jar[/B]
oh, i'm sorry, but i am trying to run a .class file so i type C:\ java this