[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java AWT for Debian?



jltallon@adv-solutions.net writes:

> The "offending" code ( in configure ) is this:
> ( I am not a Java programmer myself , BTW )
> 
> ---- 8< ------------------------------
> 
> cat > Test0.java << EOF
> class Test0 {
>         static int foo { return 0; }

This should be "foo()".

> }
> EOF
> 
> cat > Test.java << EOF
> class Test {
>          public static void main(String[] args) {
>                  Test0.foo();
>                  new java.awt.Button();
>                  new javax.swing.JButton();
>                  javax.jnlp.ServiceManager.getServiceNames();

javax.jnlp is in Java Web Start's javaws.jar which isn't in the
default classpath.

>          }
> }
> EOF
> 
> javac Test.java 2> /dev/null && webCDcreator="webCDcreator.jar"
> 
> ---- 8< ------------------------------------


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/



Reply to: