This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 20078
    
  30

Run the installer with administrator privileges.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 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
Sheriff

Joined: Oct 14, 2005
Posts: 19725
    
  10

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to install a java jar on windows vista and 7
 
It's not a secret anymore!