can eclipse C/C++ IDE be used for java too? - eclipse

I have downloaded .tar.gz install file for C/C++ eclipse IDE.
Can it also be used for java or do I need additional ?

Yes it is, you should install the right plugin - JDT (look at Help->Install new Software)

Base on wiki link:
In computer programming, Eclipse is an integrated development
environment (IDE). It contains a base workspace and an extensible
plug-in system for customizing the environment.
That means Eclipse is just a platform, and you can install any plugins for eclipse. On Eclipse site, you see some packages such as Eclipse CDT Eclipse JDT ... Because they just want you to have a convenient environment for working: just download and run. You can download any versions, and install enough other plugins and they will works well. Here is some tutorials: official link and another nice link
But my recommendation is:
you don't know how "enough" is (as newbie). So the result will be hard because you don't choose enough packages for supporting your languages. And Eclipse Foundation has made it for you.
You shouldn't use many languages in same Eclipse distribution (although you can switch to other workspace easily). Many languages mean many installed packages, and this will slow down your eclipse so much because eclipse must loads more plugins into memory, loads more projects ... This is my experience. So, each language, each eclipse distribution, each workspace. That's a trick.
And answering directly to your question:YES. You can use that version for programming java, but will need to install JDT (Java Development Toolkit) plugin.
Hope this help :)

Related

Install Eclipse without any Features

The standard/class edition of eclipse still includes JDT, CVS, GIT and various other features.
Is there a way to install it with only 'resource' management/project tools.
Essentially a version of eclipse built without any language or environment in mind.
A lot like an operating system without any programs installed other than what it needs to run itself and provide the means to install programs entirely at the user's discretion.
Post Answer:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/
The eclipse-platform section contains no-frills, just raw eclipse.
try this link (http://www.eclipse.org/downloads/moreinfo/custom.php) It should contain what is called a Eclipse Platform Runtime Binaries which is the most minimalist package available.
Same answer I wrote in: Eclipse without plugins for windows
You can download it from here: http://download.eclipse.org/eclipse/downloads/index.html. There you can find 'clean' builds of Eclipse, which do not ship with common development tools.
You still can uninstall the plugins you don't want this way :
Menu > Help > About eclipse SDK > Installation details
Install software tab
Select the plugin you don't want
Uninstall button
Goto https://download.eclipse.org/eclipse/downloads/
Choose a release
e.g. "Latest Release : 4.10" --> https://download.eclipse.org/eclipse/downloads/drops4/R-4.10-201812060815/
On this new page choose "Platform Runtime Binary"
It contains the Eclipse Rich Client Platform base bundles and do not contain source or programmer documentation.

Same IDE for both C and Java projects?

I have a Java project and a C project. I would like to use the Eclipse IDE to work on each project. To accomplish this I ended out downloading a version of ecliplse for C and a version for Java. Seems like I should only need 1 ide and then "switch perspectives" when I switch to work on a different project. However, the "Java" perspective is not available in the dropdown when the C version of eclipse is running, and vica-versa.
Do I really need two ides?
Download one IDE. Go to the Eclipse Marketplace and install the other one. It will have both plugins installed for a single Eclipse IDE installation.
No,
you can easily install the CDT features in a Java version of eclipse, or vice-versa, but I would add C++ to Java.
Once the features are installed the C++ projects can be opened and it is indistinguishable from the prepackaged version.
There is no magic there.
Help --> Install New Software --> Select helios repository (with a version indicator)
wait till the package list appears
Open the Programming Languages folder and select the CDT packages.
Typically eclipse complains so;e dependencies are missing, so select those too and it'll install.

Eclipse, better classic and add needed plugins or go for a tuned version, like pdt etc.?

I was wondering, is there a big difference between the pre-tuned versions of eclipse, like th pdt and the one for c++ developers and so on?
Or is it absolutely the same, if I take the classic version and add all the plugins I need? I am going for a project, that will have a mix of python, html, css, javascript and php in it.
Theoretically, there's no difference between the pre-installed versions of Eclipse and adding all the plug-ins you need to Eclipse classic.
However, the Eclipse "Install New Software" functionality doesn't always work perfectly.
My suggestion would be to download the Eclipse for PHP developers, and add the Python and JavaScript plug-ins.
Once you've determined that the Eclipse plug-ins meet your needs, and before you start your project, zip up your Eclipse and save it. There are times when your Eclipse gets corrupted, and having a zipped Eclipse with all the plug-ins makes restoration faster.

Boostrapping new Eclipse machines with all the Plugins

Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
Explaining / documenting what needs to happen
The actual time pasting in the right URLs and downloading
Version compatibility and dependencies
Eclipse likes to restart after each one
The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
subclipse
m2eclipse
jetty support like runjettyrun
android sdk and plugin (or at least just the plugin)
aspectj
Web Objects / WOLiops
python, other langs
JVM Monitor, maybe EclEmma
probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
AspectJ
EGit
m2e
(and of course) Spring IDE
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :
m2e
Android Developer Tools (ADT)

Many Eclipse installations, or how to install many development tools on one Eclipse?

HI all,
I have Eclipse installed with PDT (PHP Development tools).
I want to program in Java and C++, do I have to download whole Eclipse JDT and Eclipse CDT again, and have separate installations, or can I install "plugins" to handle Java and C++ ?
Thanks
Yes you can install the plugins into the same Eclipse installation. For Helios you can use the Update manager Help->Install New Software then select the Helios site and select C/C++ in Programming Lagnuages and so on. If there's something else you need you need to get the update URL and add a new site.
You can have one eclipse with all the plugins (and perspective). But that's tedious:
you'll have to find the plugin jars for each of the 'suites' and place it in the plugins dir. Sometimes they might not have an update site url
some plugins cause problems, sometimes mixing certain plugins cause problems - in short, the more plugins, the more likely your environment will crash
The way I'd suggest is to have a separate eclipse installation for each task. I myself have 3, for different sort of java development (one java, one flex, one for specific project with specific plugins)
Eclipse itself is perfectly stable and capable of supporting quite a lot of plugins. However if you are unlucky to need "crappy" plugins, there the problems being.