my dog learned polymorphism*
The moose likes Beginning Java and the fly likes jar files no longer open - desperate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jar files no longer open - desperate" Watch "jar files no longer open - desperate" New topic
Author

jar files no longer open - desperate

jim, valenta
Ranch Hand

Joined: Mar 16, 2001
Posts: 47
Hi,
I am having a problem with my jar files. I downloaded a couple applications last week that were jar files. For some reason this week none of them will open. Last week I just double clicked on them and the applications opened this week they send me to the selecton box. I don't have anything that will open them. I even had a jar file opener(equivalent to winzip)but now it won't open. I have had some icons on my desktop change and I suspect I downloaded something.
Can anyone tell me what to do other than reloading my operating system.
jim
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

did you try the jar command!
jar -x jarfilename.jar
not sure if i understood you aorrectly.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

jim,
do you have a virus protection program? If so try running it. Not sure thats your problem though.


SCJP
Visit my download page
jim, valenta
Ranch Hand

Joined: Mar 16, 2001
Posts: 47
Hi,
Thanks for getting back. I figured it out today. I ran a virus scan than uninstalled all the JAVA applications. When I reloaded them I found I had the old jre1.3 along with the jre1.3.0_01 so removed the old jre 1.3. I had the same problem. I loaded the old jre 1.3 back along with the new _01 and it works. For some reason it needs both. I removed the old 1.3 twice and it would not work so I'll just leave well enough alone.
thanks again
jim
jim, valenta
Ranch Hand

Joined: Mar 16, 2001
Posts: 47
satya,
I wanted to ask about the jar -x jarfilename.jar . I tried it with a jar file but it would not open. Is there something esle you must do to open them?
jim
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Jim, did you try it like this? jar xvf yourjarFile.jar. This is to extract the contents. If you just want to list the contents, do the following... jar tvf yourjarFile.jar. You may want to check the API for the meaning of each of these letters.
Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
jim, valenta
Ranch Hand

Joined: Mar 16, 2001
Posts: 47
Bosun,
Thank you. I tried them using a "-" in front of them like it appeared in DOS. I didn't think to try it without it.
Thanks again.
 
 
subject: jar files no longer open - desperate
 
Similar Threads
Servlets Container
RHE exam on CD
headfirst codekitchenstiger.jar
Help - Downloaded Jar files
How many db fiels in the assignment?