public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* gcj-4.9 run Helloworld failed on mips64el
@ 2014-04-21  4:49 Yunqiang Su
  0 siblings, 0 replies; only message in thread
From: Yunqiang Su @ 2014-04-21  4:49 UTC (permalink / raw)
  To: Debian Java, java

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-21  4:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-21  4:49 gcj-4.9 run Helloworld failed on mips64el Yunqiang Su

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).