| | |
Making A Java Compiler... In Java
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
Hi everyone,
jwenting is right. Plug in ant as its more useful and easier and to build an ide is not an easy task. But if you want to still pursue it read up about pipe streams in java. You will also have to use window listeners and not set a default closing for the JFrame.
Richard West
jwenting is right. Plug in ant as its more useful and easier and to build an ide is not an easy task. But if you want to still pursue it read up about pipe streams in java. You will also have to use window listeners and not set a default closing for the JFrame.
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Maybe a bit late, but here's a new article on java.net that does what you're looking for:
http://weblogs.java.net/blog/kirillc...ction_and.html
The last part is irrelevant as it deals with some obscure XML generation from Java objects, the first part deals with dynamic compilation and classloading.
http://weblogs.java.net/blog/kirillc...ction_and.html
The last part is irrelevant as it deals with some obscure XML generation from Java objects, the first part deals with dynamic compilation and classloading.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jan 2006
Posts: 1
Reputation:
Solved Threads: 0
Dear Ghost,
I want to make a Java Compiler in Java.
Is it possible to create a Java compiler? Could you
make a Notepad-like application, save the code as
a .java file, compile it into a .class file, and run it?
Basically, I want to combine Notepad and Command
Prompt. I think u have that Code. Please send that
full coding please. Im waiting for ur seen reply.
Thanks in advanced for your help
I want to make a Java Compiler in Java.
Is it possible to create a Java compiler? Could you
make a Notepad-like application, save the code as
a .java file, compile it into a .class file, and run it?
Basically, I want to combine Notepad and Command
Prompt. I think u have that Code. Please send that
full coding please. Im waiting for ur seen reply.
Thanks in advanced for your help
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
Hi everyone,
It seems you want to create an ide and not a comppiler but the answer is that its possible
Duly noted
I doubt he or anyone including myself will send the code.
What you can do is create a topic on creatig an ide by yourself and i'm sure the others will walk you through it if you have specific questions
Here are some tips for you
Runtime
JTextArea
Pipe And Streams
Richard West
•
•
•
•
Originally Posted by nmkarthik
Is it possible to create a Java compiler? Could you
make a Notepad-like application, save the code as
a .java file, compile it into a .class file, and run it?
•
•
•
•
Originally Posted by nmkarthik
Basically, I want to combine Notepad and Command Prompt.
•
•
•
•
Originally Posted by nmkarthik
I think u have that Code. Please send that full coding please
What you can do is create a topic on creatig an ide by yourself and i'm sure the others will walk you through it if you have specific questions
Here are some tips for you
Runtime
JTextArea
Pipe And Streams
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
•
•
Join Date: Apr 2006
Posts: 5
Reputation:
Solved Threads: 0
Can you help me wlth the following work?:
This sample program shows how to print the current month, now using the "Calendar" object (instead of the Date object which has been deprecated, meaning it has been slated for removal from the language).
This sample program shows how to print the current month, now using the "Calendar" object (instead of the Date object which has been deprecated, meaning it has been slated for removal from the language).
Java Syntax (Toggle Plain Text)
// Program prints the current month import java.util.Calendar; public class ShowToday { static String[] monthArray = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; public static void main(String[] args) { Calendar rightNow = Calendar.getInstance(); int month = rightNow.get( Calendar.MONTH ); // This will be a number from 0 to 11, representing January to December System.out.println("month: " + month ); // Using the above array, this will print "Jan" thru "Dec" System.out.println("month: " + monthArray[month] ); } }
Last edited by cscgal; Apr 30th, 2006 at 8:59 am.
![]() |
Similar Threads
- Running java command thru java program (Java)
- get path to java compiler (Java)
- Java Compiler (Java)
- java compiler (Java)
Other Threads in the Java Forum
- Previous Thread: Need help for making an address book using Java
- Next Thread: jdbctemplate callablestatement
Views: 9537 | Replies: 18
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application applications arguments array arrays automation bank binary bluetooth chat class classes clear client code collections component database db detection development dice draw eclipse error event exception file formatingtextintooltipjava fractal game givemetehcodez graphics gui helpwithhomework html ide image infinite input integer j2me jarfile java javaprojects jmf jni jpanel julia linux list loop looping map method methods mobile netbeans newbie number object openjavafx oracle os php print problem program programming project recursion repositories scanner screen scrollbar server set size sms socket sort sorting sql sqlserver state storm string superclass swing test text-file threads time transfer tree windows






