Article View: borland.public.jbuilder.java.language
Article #18276Re: Can my application run code that it builds - on the fly compiling?
From: Bob Byron
Date: Tue, 14 Jul 1998 00:00
Date: Tue, 14 Jul 1998 00:00
31 lines
1603 bytes
1603 bytes
That is perfect! Not a problem to compile first. That makes my environment easily extensible. Chris Hill wrote in message <35ac0bb6.2273111601@forums.borland.com>... >It is possible to dynamically load a *.class file, but not a *.java >file. The java source code needs to be compiled to bytecode before it >can be processed by the Java virtual machine. If this is good enough >for your , I think the two classes to start with are ClassLoader and >Class. > > >On Tue, 14 Jul 1998 20:03:52 -0500, "Bob Byron" <bbyron@radit.com> >wrote: > >>Philosophical question - Can a running Java application write out Java code >>to a file - then reference that Java code? That would be convenient. >>Basically, I would like my application to be able to have its own command >>language and it would be more convenient if I did not have to design one, >>but use Java to compile brand new code my application just wrote. >> >>Thanks, >>Bob Byron >>RAD Systems, Inc. >> >> > >Chris Hill >hillca@cs.purdue.edu
Technical Details
Message-ID:
<6oh3lu$4ik22@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6ogv8t$4j823@forums.borland.com> <35ac0bb6.2273111601@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,f750efdf50ec60f6 X-Google-Attributes: gidf74b3,public From: "Bob Byron" <bbyron@radit.com> Subject: Re: Can my application run code that it builds - on the fly compiling? Date: 1998/07/14 Message-ID: <6oh3lu$4ik22@forums.borland.com> X-Deja-AN: 371544928 References: <6ogv8t$4j823@forums.borland.com> <35ac0bb6.2273111601@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language