• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compling java application question  RSS feed

 
primnull jones
Greenhorn
Posts: 14
Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So say I write up a program like a dice roll game, which I see on the forums here. It's all written and good to go and when I hit Run it does what I want it to do, no errors, etc.
What then?

What do I do with those .class and .java files? Do I compile it somehow into an app I can put on the google play store? What is the NEXT STEP after the program is all written? I think I'm talking about Deployment
really confused here
 
Guillermo Ishi
Ranch Hand
Posts: 789
C++ Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to send it to the play store and have it run on android you should use the ADT version of eclipse, which gives you a screen designer. You end up with an apk file that you can send to the play store or to your phone, ADT includes phone emulators so you don't need a real phone to develop.

If you want to run it as a web back end you can fix it so it sends out html strings from the server to a browser, that is make websites.

If you want it to run on Windows, I think you can convert a jar file to an exe with some products. Also I think you can run a jar file on windows if you click it and you have JVM installed on the computer.

Depends on what you want the application to do - run on a phone, be a website, or be a stand alone computer application. For web programming the Google App Engine is probably the easiest way to get started. Do you know about MOOCs like Coursera, Edx and so on? They are great free places to learn these things, and usually from top notch or even famous teachers.


 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if all you want is a way to run your program on a different computer, all you need to know is to be found here: Packaging Programs in JAR Files
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!