Results 1 to 6 of 6
- 09-16-2008, 11:59 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 3
- Rep Power
- 0
Patch Application Stupidity (mine!)
Okay, I have suddenly found myself supporting code on a Windows server - something I have never done. In applying a patch, the instructions clearly tell me to enter:
> java -jar setup.jar (Note that you need to have a JVM in your path.)
And of course, I have no idea what this implies. When I try to make a go of this (the file is on the E drive), I get:
'java' is not recognized as an internal or external command, operable program, or batch file.
Can anybody get me started on this?
LoTech
- 09-17-2008, 12:34 AM #2
- 09-17-2008, 02:14 AM #3
Member
- Join Date
- Sep 2008
- Posts
- 3
- Rep Power
- 0
- 09-17-2008, 02:21 AM #4
How do you know its working?
How you add it to the path varies with the OS. In Linux, your sysadmin edits the /etc/profile entries.
In Windows, you set it in "Environment" which is accessible from Control Panel, but its been a while and I'm not current on the exact steps. Go to ControlPanel, look at System, and wander until you find "Environment"
- 09-17-2008, 02:36 AM #5
Member
- Join Date
- Sep 2008
- Posts
- 3
- Rep Power
- 0
- 09-17-2008, 02:57 AM #6
How often will you need to run the java command? If not very often, you can specify the full path to the java.exe command on your commandline:
D:\Java\jre1.6.0_02\bin\java.exe -jar ...
The Environment value to set is PATH.
I get the following for the path command entered at cmd terminal:
Ignore the line foldings.C:\Documents and Settings\Owner>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys tem32\Wbem;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Perl\bin;C:\BatchFil es;C:\Program Files\Support Tools\
As you can see I have several versions of java I can execute. 1.5 is the installed one.Last edited by Norm; 09-17-2008 at 02:59 AM.
Similar Threads
-
Launching an application from another application dynamically
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:31 PM -
Launching an application from another application using thread
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:29 PM -
Need help in releasing a patch to Java application
By venusunil in forum Advanced JavaReplies: 1Last Post: 10-31-2007, 09:35 PM -
how to use JTA for application
By mary in forum Advanced JavaReplies: 1Last Post: 07-13-2007, 04:34 PM -
Help, GUI Application
By Felissa in forum AWT / SwingReplies: 2Last Post: 07-04-2007, 08:19 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks