For Programmers: Free Programming Magazines  


Home > Archive > Java Help > March 2006 > How to 'run' a jar file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to 'run' a jar file
old man

2006-03-28, 7:04 pm

Hi I downloaded an app, it was a jar file
How do I get it to run?
I have jre1.5.0_06
At the moment I see I have jar files associated with a particular java app,
do I need to change this.
I have seen an article re Making Jar Files Double Clickable, but I dont wish
to 'screw' the current java app I use.
TY


Paul Hamaker

2006-03-28, 7:04 pm

Windows console :
go to the folder containing the jar, fe
cd \work

"C:\Program Files\Java\jre1.5.0_06\bin\java" -jar blip.jar
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com

old man

2006-03-28, 7:04 pm

Thanks

"Paul Hamaker" <ph@semm.tmfweb.nl> wrote in message
news:1143552285.168712.159790@e56g2000cwe.googlegroups.com...
> Windows console :
> go to the folder containing the jar, fe
> cd \work
>
> "C:\Program Files\Java\jre1.5.0_06\bin\java" -jar blip.jar
> --------------------
> Paul Hamaker, SEMM, teaching ICT since 1987
> http://javalessons.com
>



Roedy Green

2006-03-28, 7:04 pm

On Tue, 28 Mar 2006 13:09:12 GMT, "old man" <dl@spoofmail.notme>
wrote, quoted or indirectly quoted someone who said :

>Hi I downloaded an app, it was a jar file
>How do I get it to run?


see http://mindprod.com/jgloss/jar.html#ASSOCIATION

You want to make sure your association is to the JVM java.exe or
javaw.exe you are using.

If you are worried you will make things worse, record the original
settings.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
weironghai@gmail.com

2006-03-29, 4:09 am

it must have form.just like jpane.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com