Help for creating IDE
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
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
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
stephen84s
Nearly a Posting Virtuoso
1,443 posts since Jul 2007
Reputation Points: 668
Solved Threads: 154
Thank u......
is there any function in java for executing external application....
can u explain abt runtime classes..
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
> 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.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
what r the files required for compiling java pgm....
is javac and java enough....
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
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
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
then whr can i download the source code for net beans IDE
You cant. Its not opensource.
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
You cant. Its not opensource.
uhm... yes, yes it is actually. NetBeans is openSource, at least that's what the website sais :)
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
The CDDL is incompatible with the GPL so you cant do much with it
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
i thought netbeans is opensource .....
alright i need to know hw can i compile c program from java code
i should call the c compiler from java code.........
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
which compiler should i install???
and what method i should call...
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
which compiler should i install???
and what method i should call...
to compile java code? I'd suggest the standard Java compiler :)
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
im not asking for java..
im asking for c....
and what method i should call to compile the c program using java code...
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
since you wrote/are writing the code. aren't you supposed to know that?
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
ya i must ....
but im trying to find for calling the c compiler...
britto
Junior Poster in Training
60 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
tried the options Ezzaral suggested?
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433