This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to install a java jar on windows vista and 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to install a java jar on windows vista and 7" Watch "How to install a java jar on windows vista and 7" New topic
Author

How to install a java jar on windows vista and 7

Gene Hilpert
Ranch Hand

Joined: May 22, 2002
Posts: 51

I have a java desktop application that I wrote that is installed with lzpack. The installation of the application works fine on xp and linux but i get some file access errors when tiring to install the application on vista and windows 7. Any ideas on how to sign the jar file or something to get the os to ok the installation?

Thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

Run the installer with administrator privileges.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Gene Hilpert
Ranch Hand

Joined: May 22, 2002
Posts: 51

Thanks, I know izpack has something to get around this and make a exe but I really do not want to get into two installers.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

If the answer is more complicated than what Rob Prime said, then you're asking a question about izpack and not a question about Java. In which case it should be moved to a more suitable form. Is Rob's answer not the final answer?
Gene Hilpert
Ranch Hand

Joined: May 22, 2002
Posts: 51

It was easier just to have two installers. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install a java jar on windows vista and 7
 
Similar Threads
NoClassDefFoundError(unable to open projects)
java install (64-bit Vista)
Installed JDK but javac not working
Installing Java
Installation Steps for WebSphere