Re: using java on command line in windows

You can set your environment variable but it isn't required if you use the -classpath or -cp parm on the java command line. ----- Original Message ----- From: "qubit" <lauraeaves@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, June 18, 2010 3:40 PM
Subject: Re: using java on command line in windows


I'll try again. thanks.
--le

----- Original Message ----- From: "Michael Malver" <mmalver@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, June 18, 2010 3:17 PM
Subject: RE: using java on command line in windows


You need to modify your environment variables because a classpath is not set
for you automatically.  I don't know why Sun does it this way, but that's
how it is.


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
Sent: Friday, June 18, 2010 1:02 PM
To: bprogramming
Subject: using java on command line in windows

Hi all --
I need to run some java commands in windows and have a quqestion on how to
do it in dos command window, rather than in cygwin or MinGW.
I understand there are 2 environment variables that are a good idea to
set -- JAVA_HOME and CLASSPATH. Does this apply in the windows commands? Is it necessary to set these variables in windows, or will the defaults be set
correctly in the installation?
I installed the JDK6 and am hoping to just use the command line rather than
battle with Eclipse. (What can I say -- I am anxious to hack...)
Thanks.
--le

__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: