[opensuse] Running a java -jar app in 10.2
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?? Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun February 4 2007 11: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??
Jim
Hi Jim, To check which java is installed (in this example my search string is "jav"):
carl@linux:~/Desktop> rpm -qa | grep jav jedit-javadoc-4.2-41 java-1_5_0-sun-1.5.0_update10-2.1 java-1_4_2-gcj-compat-1.4.2.0-66 openoffice.org-javafilter-2.1.0-6 java-1_5_0-sun-plugin-1.5.0_update10-2.1 dejavu-2.10-16 carl@linux:~/Desktop>
If you have all the installation sources set up, you can also check using YaST -> Manage Software and install it at that time, if needed. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 kai@sith:~> 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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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??
Jim First a question.
Is jbidwatcher to watch bids/items on eBay? Just a possible suggestion: If it is there is a neat little program I ran into called BidNoble V0.4.6.11Beta. I installed it last night and started playing with it. Seems to work pretty good. -- (o:]>*HUGGLES*<[:o) Billie Walsh The three best words in the English Language: "I LOVE YOU" Pass them on! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Billie Erin Walsh
-
Carl Hartung
-
jim tate
-
Kai Ponte