Results 1 to 3 of 3
Thread: Problems with the jar
- 05-09-2007, 02:18 PM #1
Member
- Join Date
- May 2007
- Posts
- 41
- Rep Power
- 0
Problems with the jar
My concrete difficulty is the following one: I develop a program for an hospital using netbeans 5.5 and when I execute it from there it me works perfectly, but when I construct a .jar and execute it, it is as if it was not finding the routes of
classpath who when it is going to initiate does not find the images that I place to the buttons , to solve this problem initially uses a program that is called launch4j that serves to create .exe native of windows from a .jar across this program if it assumes the route it creates the exe And I list everything the perfect one if it finds the route of the images ... but it turns out that for motives of stability I am going to pass the machine to linux already mount everything (database postgrest and jdk 1.5.0) but I started to having the same problem ... when I execute from netbeans everything it works well, but when I compile and execute the .jar nothing it does not find the route where I have the icons. And the worst thing is that here I cannot create .exe in windows, I believe that my problem is with the classpath but not solving it ....
If you can help me I will appreciate that
- 05-10-2007, 03:30 AM #2
Member
- Join Date
- Apr 2007
- Location
- USA
- Posts
- 50
- Rep Power
- 0
can you post a little bit of the code that shows how you are setting up the path to the images ? It may be a path difference between windows and linux. Lets see how you are setting it.
- 05-29-2007, 03:50 PM #3
Member
- Join Date
- May 2007
- Posts
- 38
- Rep Power
- 0
Good morning, I know a tool that maybe can helps you, it is used to create installer for java application
the installer is multiplataform (a jar) and the best thing is that soft is open source: "IzPack"
for more information:
IzPack Java Installer - start
Similar Threads
-
Problems in JSP : Need help
By raj4u in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 02-07-2008, 10:06 AM -
GUI problems.
By saytri in forum New To JavaReplies: 1Last Post: 12-16-2007, 10:27 PM -
gui problems
By bluebirdjc in forum Advanced JavaReplies: 2Last Post: 07-23-2007, 05:38 PM -
a few problems
By gary in forum AWT / SwingReplies: 0Last Post: 07-11-2007, 04:57 PM -
problems with JPA
By Ed in forum New To JavaReplies: 2Last Post: 07-04-2007, 05:34 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks