I am new to mac. I have a java project. I created a exe of that project using launch4j for window. Now I need to create a application for mac. I java project contains 5 java classes, also referred to some external jars. I found this site http://www.centerkey.com/mac/java/. But I struck when I tried to create the executable jar file. While working on window I used the following commands to create the class files and jar file.
To create class files..
javac one.java two.java -cp mail.jar;sqlite.jar Mainclass.java
To create the jar files for the classes created from the above command
jar cvf one.jar one.class
I used the same command in mac terminal. But the first command to create the class files doesn’t work. Any suggestion….
AFAIK Eclipse can create Mac app bundles for Java projects, though i’m not used it and can’t say how it works.
Try Export -> Other -> Mac OS X Application bundle