🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.debugger
Article #5137

Inner Class

#5137
From: JD
Date: Fri, 29 Jan 1999 00:00
21 lines
1191 bytes
I'm having trouble debugging a main() inside an inner class.  Here's the
code:

public class TestInner{
    public TestInner() { }

    static public class Inner{
        public static void main(String args[]){
            System.out.println("some output");
        }
    }
}

It compiles fine, and runs from the command line (java TestInner$Inner)
but I can't run/debug it from JBuilder.  I get a message: "Cannot
determine runnable file".  I can't set TestInner$Inner to be the default
runnable, even if I edit the jpr file by hand.  This works in J++.  Any
ideas?

P.S. If you're wondering why the hell I'd do this, check out Bruce
Eckel's excellent book _Thinking_in_Java_.
Technical Details
Message-ID: <36B20481.D330D0CB@nh.ultranet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5c5,c1f13fcd437ce813,start
X-Google-Attributes: gidff5c5,public
From: JD <jdillon@nh.ultranet.com>
Subject: Inner Class
Date: 1999/01/29
Message-ID: <36B20481.D330D0CB@nh.ultranet.com>
X-Deja-AN: 438434399
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.debugger