• Post Reply Bookmark Topic Watch Topic
  • New Topic

Self executing program  RSS feed

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been working on a project that has about 20 different class files, all called from a main menu. I want to make it self executing. How do I do that?
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scotty Steven wrote:I have been working on a project that has about 20 different class files, all called from a main menu. I want to make it self executing. How do I do that?


What exactly do you mean "self executing"?
 
Scotty Steven
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to click on an icon, and it run the program.
 
Scotty Steven
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, when it says

Main-Class: MyPackage.MyClass

The MyPackage portion would be the folder that contains all of the class files?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scotty Steven wrote:So, when it says

Main-Class: MyPackage.MyClass

The MyPackage portion would be the folder that contains all of the class files?

Not all class files. It should be the package of your main class (which contains the main method)
You can have other classes in different package(s)
 
Scotty Steven
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! I'll go play and let you know the results.
 
Marshal
Posts: 56610
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and remember you need a blank line at the end of your manifest file.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!