Re: Another Classpath question

1998-10-21 Thread Ulrich Kortenkamp
> "Alton" == Alton Goodman <[EMAIL PROTECTED]> writes: Alton> I'm attempting to learn java using the tutorial at Alton> java.sun.com. My platform is Linux 2.0.30, a Slackware Alton> install. I installed jdk1.1.6v4a per the instructions in Alton> the README file. I haven't s

Re: Another Classpath question

1998-10-20 Thread John M. Gulizia
Alton Goodman wrote: > > I'm attempting to learn java using the tutorial at java.sun.com. My > platform is Linux 2.0.30, a Slackware install. I installed jdk1.1.6v4a > per the instructions in the README file. I haven't set the CLASSPATH > env variable. > > So I wrote a program Date.java and p

Re: Another Classpath question

1998-10-16 Thread Ernst de Haan
Hi Al, First of all: good thing you started off with Java, especially using Linux. Just a tip. You do realize that Java has a Date class similar to the one you've written, don't you? It's in the package java.util, docs are online at: http://www.javasoft.com/products/jdk/1.1/docs/api/java.uti

Re: Another Classpath question

1998-10-15 Thread Christopher Hinds
Sounds like you have a classpath problem which is common error with newbies. The problem is that invocation of the java interpreter with the classpath set to ".:~/:..." will use the current directory as the base for the search therefore the JVM will be looking for the class in the directory /packa

Re: Another Classpath question

1998-10-15 Thread Hein Saris
... stuff removed... >BTW, Date.java does have a constructor and an accessor function. I >compile Testdate.java using: >javac -classpath .:~/:/opt/jdk1.1.6v4a/lib/classes.zip Testdate.java > >The compile executes without warnings or errors. But when I attempt to >run the app using: >java -class