Hey, i'm writing a simple program that uses a JFileChooser to select a .java file, copies it to the C:/java directory, then compiles it into a .jar file. I'm having problems launching command.bat and running the commands. My code currently looks like: (My mainClass.txt is already in the target directory)
That article title has a typo, it's supposed to say "Do I even need it?"
And... I would not have wasted time writing a full article on a software [or feature] analysis based on exactly 1 user experience.
I don't use it too (only for shutdown/restart), but it's because I have pinned all my frequently apps directly in the taskbar.
For search files, I use the PowerToys Run app.
But, I understand that a place where ALL apps are listed and available is needed.
Question
Juts
Hey, i'm writing a simple program that uses a JFileChooser to select a .java file, copies it to the C:/java directory, then compiles it into a .jar file. I'm having problems launching command.bat and running the commands. My code currently looks like: (My mainClass.txt is already in the target directory)
Link to comment
https://www.neowin.net/forum/topic/620450-java-runtimegetruntimeexec-help/Share on other sites
14 answers to this question
Recommended Posts