Hi, I am trying run gcj-4.9 on mips64el while it cannot run Helloworld even.

buildd@clash:/tmp$ javac -version
gcj-4.9 (Debian 4.9-20140411-1) 4.9.0 20140411 (prerelease)
[gcc-4_9-branch revision 209311]
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

buildd@clash:/tmp$ javac Helloworld.java
/tmp/Helloworld.java:3: error: The method println(String) is undefined
for the type PrintStream
System.out.println("HELLO WORLD!");
          ^^^^^^^
1 problem (1 error)

buildd@clash:/tmp$ cat Helloworld.java
public class Helloworld{
  public static void main(String[] args){
    System.out.println("HELLO WORLD!");
  }
}

buildd@clash:/tmp$ /usr/lib/jvm/java-1.5.0-gcj-4.8-mips64el/bin/javac
Helloworld.java
buildd@clash:/tmp$ java Helloworld
HELLO WORLD!


Any idea about it?

-- 
Yunqiang Su


-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cakcpw6vyv+pytqtdmr2h7as4qrz5060cjg0ut4njfnsxeav...@mail.gmail.com

Reply via email to