• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Compling java application question

 
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
 
Ranch Hand
Posts: 789
Python C++ Linux
  • 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.


 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • 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
 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic