public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "thebohemian at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/24410]  New: GIJ does not accept "/"-syntax for main class on the command line
Date: Mon, 17 Oct 2005 18:35:00 -0000	[thread overview]
Message-ID: <bug-24410-10268@http.gcc.gnu.org/bugzilla/> (raw)

While the JDK, Kaffe etc allow running a Java app like this:

executable foo/bar/baz/MainClass

instead of

executable foo.bar.baz.MainClass

GIJ does only accept the second variant.

Eg for:

 gij de/bitecode/test/lazy/Bogus

GIJ outputs:

Exception in thread "main" java.lang.NoClassDefFoundError:
de/bitecode/test/lazy/Bogus
   at gnu.java.lang.MainThread.run (MainThread.java:99)
Caused by: java.lang.ClassNotFoundException: de/bitecode/test/lazy/Bogus
   at java.lang.Class.forName (natClass.cc:84)
   at gnu.java.lang.MainThread.run (MainThread.java:95)


-- 
           Summary: GIJ does not accept "/"-syntax for main class on the
                    command line
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thebohemian at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24410


             reply	other threads:[~2005-10-17 18:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 18:35 thebohemian at gmx dot net [this message]
2005-10-17 18:47 ` [Bug java/24410] " thebohemian at gmx dot net
2005-10-17 20:50 ` [Bug libgcj/24410] " pinskia at gcc dot gnu dot org

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=bug-24410-10268@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@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).