REFERJAVA.COM
JAVA BLOG
Sunday, February 11, 2007
My version of JDK won't run classes, even when they're in the current directory. What should I set my classpath to?
Remember always to include the current directory in your classpath. For example, on Windows systems, you might need to try
jre -cp .\ MyJavaApplication , or
java -cp .\ MyJavaApplication
SOURCE :
www.referjava.com
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2007
(670)
►
April
(27)
►
Apr 17
(27)
►
March
(31)
►
Mar 16
(7)
►
Mar 15
(1)
►
Mar 10
(7)
►
Mar 05
(8)
►
Mar 01
(8)
▼
February
(385)
►
Feb 27
(9)
►
Feb 26
(12)
►
Feb 25
(12)
►
Feb 22
(15)
►
Feb 21
(15)
►
Feb 18
(1)
►
Feb 17
(11)
►
Feb 15
(10)
►
Feb 13
(18)
▼
Feb 11
(19)
How can I use a quote " character within a string?
How do I compare two strings?
How do I convert from a char to an int?
How do I connect a Reader to an InputStream?
When should I use an InputStream, and when should ...
My application/applet loads images, but they aren'...
Why can't my applet read or write to files?
How can I convert my Java classes to an executable...
My version of JDK won't run classes, even when the...
I'm confused about variables and their scope. What...
How do I create a new instance of an object?
How do I detect if command line arguments are empty?
How do I use stacks in Java?
How can I throw an exception without declaring it ...
Is there any way to access C++ objects, and use th...
How do I use hashtables?
How do I make my frames close in response to user ...
How can I change the cursor shape?
How do I use really large numbers in Java?
►
Feb 10
(27)
►
Feb 09
(50)
►
Feb 07
(32)
►
Feb 06
(31)
►
Feb 05
(18)
►
Feb 04
(32)
►
Feb 03
(26)
►
Feb 02
(35)
►
Feb 01
(12)
►
January
(227)
►
Jan 31
(23)
►
Jan 30
(21)
►
Jan 29
(21)
►
Jan 28
(27)
►
Jan 27
(23)
►
Jan 26
(21)
►
Jan 25
(23)
►
Jan 24
(36)
►
Jan 23
(32)
No comments:
Post a Comment