943,852 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1747
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Nov 1st, 2008
0

Help for creating IDE

Expand Post »
hi......
Im doing my main project...
im creating an IDE for c,c++,java using java lang...
i need to link the program written, to the c compiler...
any ideas...
then whr can i download the source code for net beans IDE
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
britto is offline Offline
60 posts
since Oct 2008
Nov 1st, 2008
0

Re: Help for creating IDE

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
Last edited by stephen84s; Nov 1st, 2008 at 10:19 am.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Nov 1st, 2008
0

Re: Help for creating IDE

Thank u......
is there any function in java for executing external application....
can u explain abt runtime classes..
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
britto is offline Offline
60 posts
since Oct 2008
Nov 1st, 2008
1

Re: Help for creating IDE

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
Last edited by Alex Edwards; Nov 1st, 2008 at 6:56 pm.
Reputation Points: 392
Solved Threads: 108
Posting Shark
Alex Edwards is offline Offline
971 posts
since Jun 2008
Nov 2nd, 2008
0

Re: Help for creating IDE

> 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.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
Nov 2nd, 2008
0

Re: Help for creating IDE

Click to Expand / Collapse  Quote originally posted by ~s.o.s~ ...
> 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.
I meant creating the GUI layout would be easy.

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.
Reputation Points: 392
Solved Threads: 108
Posting Shark
Alex Edwards is offline Offline
971 posts
since Jun 2008
Nov 3rd, 2008
0

Re: Help for creating IDE

what r the files required for compiling java pgm....
is javac and java enough....
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
britto is offline Offline
60 posts
since Oct 2008
Nov 3rd, 2008
0

Re: Help for creating IDE

Click to Expand / Collapse  Quote originally posted by britto ...
what r the files required for compiling java pgm....
is javac and java enough....
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
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is offline Offline
2,497 posts
since Jan 2007
Nov 3rd, 2008
0

Re: Help for creating IDE

Quote ...
then whr can i download the source code for net beans IDE
You cant. Its not opensource.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is online now Online
16,513 posts
since Apr 2005
Nov 3rd, 2008
0

Re: Help for creating IDE

Click to Expand / Collapse  Quote originally posted by jbennet ...
You cant. Its not opensource.
uhm... yes, yes it is actually. NetBeans is openSource, at least that's what the website sais
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is offline Offline
2,497 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: csharp to java
Next Thread in Java Forum Timeline: weblogic.rjvm.PeerGoneException / or java.rmi.UnmarshalException ???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC