You can use the semicolon seperater and drive letters are allowed. For example,
java -classpath "d:\java\mylib.jar;d:\java\mydir"----- Original Message ----- From: "qubit" <lauraeaves@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Friday, June 18, 2010 1:33 PM Subject: Re: using java on command line in windows
On a windows system, how does one form the path variable? -- the classpath Imean? Unlike linux, dos has a semicolon separated list, right? or does java take the linux form? what about the drive letter? Thanx. --le----- Original Message ----- From: "Jay Macarty" <jay.macarty2009@xxxxxxxxx>To: <programmingblind@xxxxxxxxxxxxx> Sent: Friday, June 18, 2010 1:05 PM Subject: Re: using java on command line in windows I make it a habit to set these properties on my java command line jut to ensure I know where the jars and home directory are being accessed.----- Original Message ----- From: "qubit" <lauraeaves@xxxxxxxxx>To: "bprogramming" <programmingblind@xxxxxxxxxxxxx> Sent: Friday, June 18, 2010 1:01 PM Subject: using java on command line in windowsHi all --I need to run some java commands in windows and have a quqestion on how todo 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 //www.freelists.org/list/programmingblind__________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind