Re: Accessing .class files in a Jar
Redbeard wrote:
Nigel Wade wrote:
Note that I've had to specify both the jar and "." in the classpath so that
java
can locate classes in the jar and in the current directory.
Thanks! This is what I was doing.
What you want to do is possible.
Most of the students will be locked out of the command prompt -
education setting - very tight security. But they should be using the
same IDE, so I should be able to give them directions how to set the
classpath via the IDE.
Thanks again!
Most IDEs allow that functionality. The ones I am familiar with (NetBeans and
Eclipse) both allow that. I'm not a fan of IDEs for learning, your students
will probably spend far too much time learning the IDE, rather than learning
Java. I'm sure you are finding out just how much time learning to perform
simple tasks within an IDE can occupy...
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555