Apparently this question is related. It would help if you explain your aversion to the command prompt, and why an executable jar doesn't meet your needs.
luck, db
There are no new questions, but there may be new answers.
Apparently this question is related. It would help if you explain your aversion to the command prompt, and why an executable jar doesn't meet your needs.
typing commands into cmd is tedious. So i want something to run my .CLASS (ONLY) files directly for testing my small programs.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Double-clicking a jar file involves no typing; please address that part of Darryl's question.
Ulf Dittmer wrote:Double-clicking a jar file involves no typing; please address that part of Darryl's question.
converted my class file to jar via cmd. Double clicked it and got some error. One SCJP tester jar does not cause this problem and runs smoothly (it swing based and not console like my programs)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
If you told us what problem you encountered we might be able to help. Without knowing the details, not so much.
Of course, if your program relies on the console, then running it without one is not going to work.
I'll just say it, this is a bizarre conversation from Bizarro World. The OP originally asked for "100% freeware to directly run my (console based) class files," then in another thread, asked for a similar capability for running .jar files. Then, the OP further narrowed the request by declaring command line commands too hard, clicking not working, leaving the solution set - ZERO . . . it's just bizarre.
No matter what the OP uses, commands in a console or clicking in a UI will be required. As for "100% freeware," there's Sun/Oracle JDK/JVM (duh!), or if that's not "100% free" enough, there are the Open versions.
As the OP has a problem (nearly unintelligible) with every suggestion, I suspect there's more to the request than has been stated or understood. Please continue the conversation after returning to Earth.
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Here's a simple solution: Create a small batch file. Call it run.bat for example. Put the command to run your Java program in there.
Then, you only have to type "run" in the command prompt window to run your application, instead of a long "java -classpath blahblah org.mypackage.MyProgram" command.
Greg Brannon wrote:I'll just say it, this is a bizarre conversation from Bizarro World. The OP originally asked for "100% freeware to directly run my (console based) class files," then in another thread, asked for a similar capability for running .jar files. Then, the OP further narrowed the request by declaring command line commands too hard, clicking not working, leaving the solution set - ZERO . . . it's just bizarre.
No matter what the OP uses, commands in a console or clicking in a UI will be required. As for "100% freeware," there's Sun/Oracle JDK/JVM (duh!), or if that's not "100% free" enough, there are the Open versions.
As the OP has a problem (nearly unintelligible) with every suggestion, I suspect there's more to the request than has been stated or understood. Please continue the conversation after returning to Earth.
Man, i am not a CS-god (electronics !) so some of my doubts may be LAME, please bear with me...
There is nothing more to this request. all i wanted was to be able to run/execute a class file by simply double-clicking it, like any other program. So, i thought i will use some program that adds itself to the context-menu (thats the name right ?)
I tried all kinds of programs to make the classes self-executing , java2exe , exe4j etc but failed.
Lets suspend this thread for a whilei will try using these approaches and report back to you.
regards
rb.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.