Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at Launcher.main(Launcher.java:57)
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
ronald@camelion:~/Desktop/java_exercisis/threads/a/example0_thread_templates> java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)
ronald@camelion:~/Desktop/java_exercisis/threads/a/example0_thread_templates> java Launcher
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at Launcher.main(Launcher.java:57)
ronald@camelion:~/Desktop/java_exercisis/threads/a/example0_thread_templates>
http://plainoldjavaobject.blogspot.in
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer wrote:I concur with Paul's post: you're not running the code that you think you're running. When I compile and run the code I get this output:
Ronald Vermeij wrote:B - Does the JAVAC compiler itself store any old compilation results (class files) for possible re-use? or faster re-compilation
C - When I enter Javac <filename.java> HOW does JAVAC find the filename.java:
Does JAVAC search along the PATH of the computer it runs on?
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Consider Paul's rocket mass heater. |