I only did 'javac Test.java' without any option.
Now, after your question for the classpath I changed
Test.java as below and tried:

1.)
javac Test.java

Test.java:3: cannot resolve symbol
symbol  : class Bean
location: package best
      System.out.println("Test: " + java.bean.Bean.isDesignTime());
                                             ^
1 error

2.)
javac -
classpath /usr/lib/j2sdk1.3/jre/lib/rt.jar:/usr/lib/j2sdk1.3/lib/tools.jar:/usr/
sh Test.java

Test.java:3: cannot resolve symbol
symbol  : class Bean
location: package best
      System.out.println("Test: " + java.bean.Bean.isDesignTime());
                                             ^
1 error

Zitiere Ralph Einfeldt <[EMAIL PROTECTED]>:

> Did you use the classpath to compile the class ?
> 
> /usr/lib/j2sdk1.3/jre/lib/rt.jar:/usr/lib/j2sdk1.3/lib/tools.jar:/usr/sh
> are/tomcat/lib/tomcat.jar
> 
> To get a better comparable error message change Test.java to:
> 
> public class Test { 
>    public Test() {
>      System.out.println("Test: " + java.bean.Bean.isDesignTime());
>    }
> }

 ::
 :: GPG Fingerprint  2196 F6E0 2DFE 36F0 4F69  4259 D12A CB99 834C CA31

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to