0
votes
2answers
59 views

Windows Command Prompt [closed]

How to load a prewritten line in command prompt? Example: Take the followings as a line: java -jar System.jar Can this command line be written in a .bat file so that by clicking on the .bat ...
0
votes
1answer
34 views

Problems starting a JBoss 7.02 server on computer startup

I have a JBoss 7.02 server running on a Windows Server 2008 machine. The server needs to be kept running at all times, but every so often the host machine will restart leaving the application ...
0
votes
3answers
1k views

How to pass command to running java application using a batch file

He this my seem a little basic and simple but I never did this before. I have this minecraft server and It starts up wit a batch file containing: java -Xms1012M -Xmx1012M -jar ...
-5
votes
3answers
2k views

How to kill Java.exe from a Windows Batch File?

How do I write a batch file script which will kill the java.exe process? I intend to run it from the Windows Task Scheduler. Thanks.
0
votes
3answers
628 views

Which tools bundled with windows can be used to upload a text file to the web?

I have a text file, and I want to post its contents to a webserver. I would like to do it using applications that come bundled with Windows. I don't mind writing a batch script to do it. But I don't ...
0
votes
0answers
266 views

how to write a script that will launch java application using the bundled jre?

basically I have MyApplication.jar and a nasty native library that will only work with 32-bit JRE. I bundled the 32-bit JRE in the /JREF folder resides in the same directory as the MyApplication.jar ...
0
votes
3answers
3k views

Running Java from a Windows batch file causes the batch file to stop

When I run Java from a Windows .cmd file (Vista 32-bit here), the Java command causes the batch file to stop executing additional commands. For example, this is a simple test.cmd file: java java ...