Results 1 to 5 of 5
- 06-06-2008, 11:57 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 3
- Rep Power
- 0
- 06-07-2008, 03:15 AM #2
Not clear,
Are you searching for some complete application source code?
If that is, this could help you.....freedom exists in the world of ideas
- 06-07-2008, 08:17 AM #3
Member
- Join Date
- Jun 2008
- Posts
- 3
- Rep Power
- 0
Well i've made a java project with intelliJ, but I can only run it if intellliJ is started.
Basically I want to make an .exe or something from it.
It doesn't uses a database or something.
I hope this is more clear :)
I've found somewhere that I need to convert my project to a .JAR file which I then can convert to an .exe.
However when I create my .JAR file using IntelliJ and then try to run it, I get "Could not find main class, program will now exit", but I've selected my main class when creating the .JAR file :s
In this main class I have this: (separate main class with no other functions)
public class Start{
public static void main(String[] args) {
new myapplication();
}
}Last edited by Jerre; 06-07-2008 at 08:56 AM.
- 06-07-2008, 03:05 PM #4
JAR file's behavior is the same as executable files.....
You can run directly your application when Archived....
Maybe the JAR generator generates bad jar file... or its manifest file doesn't point/create the Main-Class: StartHowever when I create my .JAR file using IntelliJ and then try to run it, I get "Could not find main class, program will now exit", but I've selected my main class when creating the .JAR file
You may take a tutorial about how to create a jar file manually...
Covert Java to Exe Why,When,When not and How....I've found somewhere that I need to convert my project to a .JAR file which I then can convert to an .exe.freedom exists in the world of ideas
- 06-08-2008, 09:58 AM #5
Member
- Join Date
- Jun 2008
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
Launching an application from another application dynamically
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:31 PM -
Launching an application from another application using thread
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:29 PM -
Make sound play in a java application
By lenny in forum AWT / SwingReplies: 2Last Post: 08-13-2007, 11:45 AM -
How to make a web application as .exe file
By madhusudhangovindu in forum Advanced JavaReplies: 1Last Post: 08-02-2007, 03:58 PM -
Unknown publisher / Signing standalone tomcat.exe
By millross in forum New To JavaReplies: 1Last Post: 06-14-2007, 02:25 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks