Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-07-2013, 11:14 PM   #1
Solid State Member
 
Join Date: Jan 2013
Location: United States
Posts: 7
Talking Java Program

I recently wrote a java program for fantasy basketball and I was wondering if there is any programs that will run this program for me...I am well aware it can run on the command prompt but I would like to see it on another program if possible.
__________________

dconns1 is offline   Reply With Quote
Old 08-09-2013, 11:59 AM   #2
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Java Program

"Any programs that will run this program?"

Eh?
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 08-09-2013, 06:05 PM   #3
Solid State Member
 
Join Date: Jan 2013
Location: United States
Posts: 7
Default Re: Java Program

Quote:
Originally Posted by berry120 View Post
"Any programs that will run this program?"

Eh?
I was saying I want to know if there is any programs that will run java programs created on netbeans i should have said "this type of program" referring to the program I am creating on netbeans
dconns1 is offline   Reply With Quote
Old 08-10-2013, 04:56 AM   #4
In Runtime
 
Join Date: Feb 2013
Location: UK
Posts: 156
Default Re: Java Program

Quote:
Originally Posted by dconns1 View Post
I was saying I want to know if there is any programs that will run java programs created on netbeans i should have said "this type of program" referring to the program I am creating on netbeans
I reiterate the 'Eh?' - Programs do not run programs. Yes programs can invoke other processes in complex systems, but in the context you're talking about (i.e. a Jar file) it is executed by the operating system's JRE (Java Runtime Environment) - which is what happens when you type java 'myprog.jar' in a command prompt, or when a .jar is 'double-clicked' in explorer, provided the appropriate hooks are setup. And even then, this does exactly the same thing behind the scenes.

In summary, there is only one way to invoke a java program on any given OS, and why would you ever want two? You'd just choose the best one and ditch the other...
_michaelm is offline   Reply With Quote
Old 08-11-2013, 08:07 PM   #5
In Runtime
 
lhamil64's Avatar
 
Join Date: Jan 2007
Posts: 398
Default Re: Java Program

Quote:
Originally Posted by dconns1 View Post
I recently wrote a java program for fantasy basketball and I was wondering if there is any programs that will run this program for me...I am well aware it can run on the command prompt but I would like to see it on another program if possible.
Do you mean you want it to run without having to type it in the console? If so, you can usually just double click the .jar file. If you want it as a .exe file instead of a .jar, it may be a lot more complex. Generally java programs are distributed as .jar files.
__________________
--Lee
Website/Blog: http://lhamil64.wordpress.com
lhamil64 is offline   Reply With Quote
Old 08-16-2013, 11:17 AM   #6
Solid State Member
 
anicedalek's Avatar
 
Join Date: Aug 2013
Location: England
Posts: 17
Default Re: Java Program

Quote:
Originally Posted by lhamil64 View Post
Do you mean you want it to run without having to type it in the console? If so, you can usually just double click the .jar file. If you want it as a .exe file instead of a .jar, it may be a lot more complex. Generally java programs are distributed as .jar files.
Remember to clean and build first. Then a jar should appear under the 'dist' folder in your project.
__________________

anicedalek is offline   Reply With Quote
Reply

Tags
exporting, java, programming, running

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 10:02 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0