Re: using java on command line in windows

  • From: "Jay Macarty" <jay.macarty2009@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 18 Jun 2010 13:44:07 -0500

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 I
mean? 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 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
//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

Other related posts: