Results 1 to 3 of 3
Thread: Netbeans built .jar for Mac
- 11-03-2008, 02:55 PM #1
Member
- Join Date
- Nov 2008
- Posts
- 2
- Rep Power
- 0
Netbeans built .jar for Mac
I have an application that is built in Netbeans and on several Widows machines the jar runs fine when it is double clicked. I asked a friend to test it on their Mac and they got an error.
"The Java JAR file 'nameOfJar.jar' could not be launched. Check the console for possible error messages"
My questions are:
What is the console that this message is reffering to?
Is there something I have to set up in Netbeans for the .jar to be executable on Mac?
- 11-03-2008, 04:28 PM #2
Are the same or compatible versions of java being used?
I don't know of any options for executing a jar on a Mac.
I've been suprised several times when I gave a program in a jar to a friend with a Mac and it worked. I was on Win98. The same program given to another Windows user required some fiddles on his PC.
Does your code do any OS dependent things. File paths with C: for example.
- 11-03-2008, 04:54 PM #3
Member
- Join Date
- Nov 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
help with netBeans
By the godfather01 in forum NetBeansReplies: 11Last Post: 02-01-2009, 04:48 PM -
cannot run web app with Netbeans
By CirKuT in forum New To JavaReplies: 5Last Post: 10-28-2008, 03:48 PM -
netbeans
By sweet angle in forum NetBeansReplies: 1Last Post: 08-05-2008, 04:06 AM -
Using the built-in enumeration methods
By Java Tip in forum java.langReplies: 0Last Post: 04-17-2008, 07:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks