On Sunday 04 February 2007 08:29, jim tate wrote: > I,m trying to run JBidWatcher.jar and it requires JRE-1.5 , java -jar > The only JRE-1.5 I can find in Suse-10.2 is a /windows/C/Program > Files/Java/jre1.5.0_01. > Ineed a command like: java -jar /home/mickey/JBidWatcher-1.0.jar . > how would i run this with the path to 'java' command?? >
Following up on what Carl wrote, you need to make sure you're running the right Java. The one Under /windows/C/Progra~1/Java/jre... will be a Windows executable and won't work for your system. To check if Java is running on your system, type from the command prompt, java -version [EMAIL PROTECTED]:~> java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) If you get something like that you're at least halfway there. Then to run a jar file (which is a zipped Java archive) you should be able to run just like you typed. Assuming you installed one from either Yast, Zen or SMART, you can type, java -jar MyCoolJarFile.jar If you can't get the above command to work, fire up your favorite installer (YAST, ZEN, SMART...) and look for java. You'll want to make sure you install 1.5, unless you need to stay with 1.4.2 (like FileNET people do). HTH!! > Jim -- kai Free Compean and Ramos http://www.perfectreign.com/?q=node/46 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
