• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse for java & cpp/h files in openjdk

 
Mandar Khire
Ranch Hand
Posts: 569
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Eclipse Indigo in that i add new software from CDT download Website.
I download openjdk 7 for understand it.
I create project with existing code...& give path of openjdk folder where i extract it.
It show properly cpp files & java files also
For checking every thing is ok or not i write basic Hello world program in cpp, it not run...when i try to discover where is compiler(As i separately download compilers Boreland, MinGW, & visual studio, it should show me 3 compiler for choose particular...But not...
Then i download Eclipse Helios CDT as website shows Eclipse IDE for C/C++ Developers.
then i check basic program hello world in cpp it take MinGW for compile it self...i not set it.
But when i create project on existing code & give path of openjdk folder...it takes only c/cpp/h etc files & java files open in wordpad not like eclipse open java when I use indigo...

Its very difficult to me to try to understand how i should check
if i write code in java example initialize variable like int,double,float...etc & debug then IDE should show me step by step exactly which java/c/cpp/h file require it to show that variable in console...if success then i will try for jcomponent etc bigger program...
Any help i am trying this from last 6-7 days...If other IDE helps please inform me...
It just to understand & curiosity...
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you lost me there. Have you checked the help menu in Eclipse? Many of the plugins, such as the Java Development Tools, have tutorials in the help text. (Help | Content | Java Development User Guide | Getting Started | Basic Tutorial) I suspect that a similar tutorial exists for the C/C++ tools. I recommend that you try out the tutorials first so that you understand how Eclipse works. Once you understand that, if you have further questions you can come here and ask. And it helps if you ask only one specific question - the stream of consciousness post that you made is not likely to get you much help.
 
Mandar Khire
Ranch Hand
Posts: 569
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peter Johnson Sir,
I not understand following sentence...
I think you lost me there.


Have you checked the help menu in Eclipse? Many of the plugins, such as the Java Development Tools, have tutorials in the help text. (Help | Content | Java Development User Guide | Getting Started | Basic Tutorial) I suspect that a similar tutorial exists for the C/C++ tools.

Yes i check help menu..even lots of plugin & its help/options/tutorials also...but if i take c/c++ then in tutorial gives only c/c++ examples...if i take java tutorial...it gives only java example...
When i try to use combined both languages then no tutorial found by me...(or i not looked properly...surely i check again for 2-3 days & try to find out...)

I found one bug in eclipse which i post eclipse bug website...

And it helps if you ask only one specific question - the stream of consciousness post that you made is not likely to get you much help.

Surely i ask many question always...but i thought it not mismatch with each other...all are related to each other?

If i ask i need help in eclipse c/c++ IDE for see program cpp & java also..then surely any one can give me answer check plugin...
But i post why i need it...if solution get for what purpose i use it..all details...
I think complete question (is true its take time to read & look like big paragraph & in 21s century people not read 130 character sms completely...lost passions ) helps for proper answer...
This is not topic to discussion for me also...Sorry for going wrong side...
But still i not find out any IDE which give me complete solution for my requirement...
Where(in which ide) that openjdk developer debug that code? basic question...
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to write an application that has both Java and C/C++ sources? Then all you need to do is download the necessary plugins to support both. For example, download the Eclipse IDE for Java Developers package and then add the C/C++ plugins to it.

You will need to have separate projects - you cannot have a project that has both Java and C/C++ code.

I am not sure if you can have a debug session where you set breakpoints in both projects. You can always try.
 
Mandar Khire
Ranch Hand
Posts: 569
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peter Johnson Sir,
You can always try.

Surely...i search lots in Google..in not found proper IDE with functionality i want...(IDE with multilingual project debugging facility with multiple compilers)...
Question arise in my mind after just reading books/website/blogs...I also confuse really its needed...if such requirement is there then why not available...or people do work on traditional way...
create separate projects for separate languages & debug separate IDE!

I read about equinoxosgi.org...I am mot master in that but question arise if i want to try create java project which contain combined IDE..then framework required (i think so)...so this can be helpful...
but for that i should start reading more books/blogs/etc
So for creating combined IDE or look like IDE program in java language...
Which books i should read? I try to sort out from where i start studying with reference webpage.
should it possible to create combined IDE or similar? I chose C,C++ & java.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:
I am not sure if you can have a debug session where you set breakpoints in both projects. You can always try.


Yes, you can. Separate projects, separate languages, separate VMs, where applicable. That's one of the primary reasons I prefer Eclipse - I tend to work on systems that need just such abilities.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic