Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 1996 01:24:05 -0400 (EDT)
From:      Mark Mayo <mark@quickweb.com>
To:        hackers@freebsd.org
Subject:   JDK 1.0.2 problem..
Message-ID:  <Pine.BSF.3.94.961020011607.28243A-100000@vinyl.quickweb.com>

next in thread | raw e-mail | index | archive | help

I know this package is unsupported by the author, but I'm hoping some else
has encountered this problem :-)

I've been using the JDK for a while now - for applet development, and it's
been fine. After I changed all instances of `arch` in the jdk/bin/*
scripts, everything seemed to run just fine. javac works great, haven't
had a hitch, and the appletviewer works fine as well. Even the
disassembler.

But I just tried to use the java iterpreter by itself, with no luck..

All I get is:

mark:{192}/home/mark/Code/java/Networking % ll
total 4
-rw-r--r--  1 mark  mark  1621 Oct 20 00:55 EchoTest.class
-rw-r--r--  1 mark  mark  1307 Oct 20 00:55 EchoTest.java
mark:{193}/home/mark/Code/java/Networking % java EchoTest
Can't find class EchoTest
mark:{194}/home/mark/Code/java/Networking % 

Which is odd.. seeing how the appletviewer (if I understand it correctly)
uses "java" for it's interpretting and has no problems. I know this is the
correct way of starting the interpreter, but it just aint working.. also,
jdb seems to be unable to load class files..  Like I said, I'm somewhat
puzzled because the appletviewer works fine.

Anyone out there having the same weirdness??

TIA for any help,
-Mark

P.S.:  . is in my path (current directory), and I also tried 
java EchoTest.class ... and I'm pretty sure my CLASSPATH is correct
becuase jdb can list all available classes in the java and sun packages.
It just can't find my class... and it is public :-)

-------------------------------------------
| Mark Mayo		mark@quickweb.com |
| C-Soft  	        www.quickweb.com  |
-------------------------------------------
"To iterate is human, to recurse divine."
		- L. Peter Deutsch




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.94.961020011607.28243A-100000>