Thou shalt not try me. Mom 24:7
Thou shalt not try me. Mom 24:7
pop the something somewhere convenient, and just run it.
if the jar file isn't in the current directory it doesn't run right
Thou shalt not try me. Mom 24:7
how do you feed it arguments?
Thou shalt not try me. Mom 24:7
Thou shalt not try me. Mom 24:7
want an executable that I can run from anywhere?
JOptionPane? Never heard of it.
What about an .exe file that is not in the current directory? How do you get it to run without telling the OS where it is located?
Thou shalt not try me. Mom 24:7
I'd think having the jar file on a flash drive would allow you to plug in the drive, click on the jar file, type in the arguments would be the easiest solution. No command prompt window, no command line.
Thou shalt not try me. Mom 24:7
Thou shalt not try me. Mom 24:7
Thou shalt not try me. Mom 24:7
As opposed to
1) It's Monday
2) Foo logfile
3) Scan logfile.out for issues.
Jim Venolia wrote:3 years ago I wanted to learn OO, Java seemed the way to go. But if Java won't produce a .exe then, well, I'm not gonna call it wasted, just misdirected.
Ron McLeod wrote:Launch4j may work for you. I have not used it myself, but I have used applications like the Arduino IDE which use it.
Jim Venolia wrote:That's the conclusion I'm coming to
3 years ago I wanted to learn OO, Java seemed the way to go. But if Java won't produce a .exe then, well, I'm not gonna call it wasted, just misdirected.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
Thou shalt not try me. Mom 24:7
I get different results calling it from a directory other than the current one.
Stephan van Hulst wrote:Aye, in that case the application works with files relative to the working directory. If that's not what you want you need to fix it to resolve paths against the executing jar's location:
Thou shalt not try me. Mom 24:7
Warning! Way too comfortable! Do not sit! Try reading this tiny ad instead:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|