Re: Strange Class.forName() problem

1999-02-01 Thread Michael Sinz
On Mon, 1 Feb 1999 16:57:16 +0100 (CET), Frank B. Brokken wrote: >Dear listmembers, > >I ran into a weird problem: I'm probably overlooking something, but >somehow I don't see what it is. > >I have the following small application (using jdk 1.1.7-v1a, on a glibc based >Linux system) > >public

Re: Strange Class.forName() problem

1999-02-01 Thread Nelson Minar
This question has nothing to do with Linux, it's really not appropriate here. >c = Class.forName("String"); >java.lang.ClassNotFoundException: String >c = Class.forName("java.lang.String"); You have to use the full package name if you're using reflection-l

Strange Class.forName() problem

1999-02-01 Thread Frank B. Brokken
Dear listmembers, I ran into a weird problem: I'm probably overlooking something, but somehow I don't see what it is. I have the following small application (using jdk 1.1.7-v1a, on a glibc based Linux system) public class classname { public static void main(String args[]) {