public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Yunqiang Su <wzssyqa@gmail.com>
To: Debian Java <debian-java@lists.debian.org>, java@gcc.gnu.org
Subject: gcj-4.9 run Helloworld failed on mips64el
Date: Mon, 21 Apr 2014 04:49:00 -0000	[thread overview]
Message-ID: <CAKcpw6VYv+PytQTdMR2H7as4QRz5060CJg0ut4NjFNSxeAVuCw@mail.gmail.com> (raw)

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

                 reply	other threads:[~2014-04-21  4:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKcpw6VYv+PytQTdMR2H7as4QRz5060CJg0ut4NjFNSxeAVuCw@mail.gmail.com \
    --to=wzssyqa@gmail.com \
    --cc=debian-java@lists.debian.org \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).