| | |
Help for creating IDE
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
This link should help you in getting NetBeans IDE sources and explain how to work with them.
A C Compiler would be an external application, so for invoking it you will need to use the Runtime class and process the output, Sorry had mixed it up with JNI when I posted at the start
A C Compiler would be an external application, so for invoking it you will need to use the Runtime class and process the output, Sorry had mixed it up with JNI when I posted at the start
Last edited by stephen84s; Nov 1st, 2008 at 10:19 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
This should be an easy project, until you have to create a command for executing an applet instead of a standalone application.
Also executing packaged-classes might be a bit tricky.
It will help if you ran some batch files (or possibly even shells for a UNIX box) to see what it takes to execute a java class file, or compile a .java file into a .class file.
Running from the command line gives similar results, but it may be easier to see mistakes or organize your commands by using the above method.
Once you've figured that out, look up the Runtime API
http://www.javadocexamples.com/java_.../lang/Runtime/
-- some executions by example--
http://www.javadocexamples.com/java/...0command).html
-- a reference for executing applets from the command line--
http://www.cs.colostate.edu/helpdocs/JavaInDOS.html
-- the brute-force method of executing an applet (using main)--
http://www.linuxtopia.org/online_boo...TIJ316_006.htm
Also executing packaged-classes might be a bit tricky.
It will help if you ran some batch files (or possibly even shells for a UNIX box) to see what it takes to execute a java class file, or compile a .java file into a .class file.
Running from the command line gives similar results, but it may be easier to see mistakes or organize your commands by using the above method.
Once you've figured that out, look up the Runtime API
http://www.javadocexamples.com/java_.../lang/Runtime/
-- some executions by example--
http://www.javadocexamples.com/java/...0command).html
-- a reference for executing applets from the command line--
http://www.cs.colostate.edu/helpdocs/JavaInDOS.html
-- the brute-force method of executing an applet (using main)--
http://www.linuxtopia.org/online_boo...TIJ316_006.htm
Last edited by Alex Edwards; Nov 1st, 2008 at 6:56 pm.
> This should be an easy project
You have seriously got to be joking...
> Also executing packaged-classes might be a bit tricky.
Take a look at how Ant handles such things.
You have seriously got to be joking...
> Also executing packaged-classes might be a bit tricky.
Take a look at how Ant handles such things.
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
•
•
•
•
> This should be an easy project
You have seriously got to be joking...
> Also executing packaged-classes might be a bit tricky.
Take a look at how Ant handles such things.
It will be hard to create plug-ins for the IDE, but depending on the scope of the assignment plugins can be an optional addition to the IDE.
If its a simple IDE that is dedicated to interfacing with a java compiler and runtime (or even certain components of a JDK) then it shouldn't be too bad.
But this is obviously an assumption. Not enough information of the scope of the assignment is given, and if the scope is bigger than I assumed then I agree that this assignment will not be as easy as I originally thought.
Edit: Actually the OP needs the IDE to interface with a c compiler, not java, though the way it would be done is not too different.
Last edited by Alex Edwards; Nov 2nd, 2008 at 4:51 am.
are you now telling you haven't even tried to compile anything yet? javac is the compiler, yes. I 'd suggest you first get to learn how that thing works, before you go and try to create an IDE
![]() |
Similar Threads
- Creating an OS (C++)
- Creating a coundown timer in a form (VB.NET)
- Creating a Boot Disk for an NTFS or FAT Partition (Windows tips 'n' tweaks)
- need help with the cursor creating (C)
- Multi-character support (C++)
- Creating a DLL from an existing VB6 application (Visual Basic 4 / 5 / 6)
- JEditorPane and word-wrapping (Java)
- creating a window based dialog (C++)
- Creating Mobile Applications using GBasic (Legacy and Other Languages)
Other Threads in the Java Forum
- Previous Thread: csharp to java
- Next Thread: weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???
Views: 1273 | Replies: 19
| Thread Tools | Search this Thread |
Tag cloud for Java
actuate android api apple applet application arguments array arrays automation balls binary bluetooth business c++ chat class classes client code codesnippet collections component coordinates database defaultmethod doctype dragging draw ebook eclipse error event exception file fractal froglogic game givemetehcodez graphics gui helpwithhomework hql html ide image ingres input integer intersect invokingapacheantprogrammatically j2me java javaprojects jmf jni jpanel julia linux list loop looping map method methods mobile mysql netbeans newbie number numbers object oracle parameter php print problem program programming project recursion scanner screen server set size sms socket sort sql string sun swing swt tcp test threads time tree windows






