NetBeans IDE 8.0.2 Support for Netbeans IDE 7 - java

I am starting a computer science class and need to download Netbeans IDE on my Mac 10.6.8. The latest Netbeans edition compatible with my Mac is NetBeans 7. However, in my class, we use NetBeans IDE 8.0.2
Am I able to transfer projects between both versions (via thumb drive) and edit them on both versions of Netbeans?
Thanks for the Help!

You can try it, but I have had trouble in the past with some custom Ant extensions Netbeans uses breaking when you try to use an older version of Netbeans than the one the project was created with. The other way seems to be less problematic. I have almost always been able to open projects created with an older version of Netbeans with a newer one.
I think there are two options:
Copy the sources but just create a new project with the older Netbeans using existing sources as needed. If you haven't customized a lot of settings this is usually fine.
Use Maven projects instead of Ant projects (which are just called Java applications in the Netbeans projects window). Just select Maven in the categories list in the new project dialog. These projects are less closely tied to the Netbeans versions, they can even be imported fairly reliably into Eclipse and Intellij.

copy the source folder(netbeansprojects[Your project]\src) and copy it to a thumb drive. Open a new project in your pc (the one in your class, 8.0.2) and go to THAT projects src, delete it, and replace it with the one from you're flash drive.

Related

Two Intellij project windows that use different SDKs

I have two separate intellij projects, one that uses JDK 1.8 and another that uses JDK 11.0.14. I would like to have them both open side-by-side if possible. However, when I set the JAVA HOME variable in my path to either one of those, the IDE using the other SDK will not run.
I set the path manually in both IDEs, but they still don't run. I was wondering if it's possible to have two separate Intellij IDEs running that use different SDKs.
yes, it's possible, if both or multiple JDK are installed in your system, each project can use a different SDK
go to File > Project Structure > Project SDK < and chose your preferred JDK from the drop-down menu

How to create a new Java EE project in Intellij 2020.2 without Gradle or Maven?

I started learning Java EE and everything was well. Today I updated my IntelliJ Ultimate version to 2020.2 and the menu to create a new project has changed.
Before, it was
And now it is
The problem is that I can't find how to create a new project like before, with the choose of Application server and the libraries "Web Application".
Is it still possible or have I to downgrade?
Thank you very much and sorry if my question is stupid
It's no longer possible. The only option is to downgrade to 2020.1 version.
The previous wizard was using obsolete technologies and frameworks with the libraries hosted on JetBrains servers always lagging updates and extremely hard to maintain. Now we moved to Gradle/Maven projects where all the dependencies can be fetched from the public servers and the project can use up-to-date Java EE and library versions.
At the moment you can get the legacy project wizards back by adding javaee.legacy.project.wizard=true in Help | Edit Custom Properties and restarting the IDE.

Eclipse IDE for (Java and reports, PHP and Android)

There are different version of eclipse for different development environment.
My question is IF IDE remains same then why different versions, and if someone want to use all supported environments in single IDE how he/she can achieve that.
I want to use eclipse as single IDE for PHP, Java & Reports and Android development, instead of using different installation of eclipse.
Somebody helps me or refer me some link, it's quite confusing!
All the versions of Eclipse on the main site download page are the same version of Eclipse, but packaged with different sets of plugins. You can always install more features in Eclipse by installing more plugins.
You can have a single installation of Eclipse and use it for all your development needs - depending on your tastes however, it may sometimes be more manageable to have separate installations of Eclipse for different tasks (when there are a lot of plugins, Eclipse can take noticeably more time to start.)
There ARE different versions of Eclipse out there. But if we stick to one version and look at why there are different variants to download it's basically just that they come prepackaged with a specific component. So if you would like to use your Eclipse for C++ development you can get going with on single download. Instead of downloading the main IDE and then adding the module to support C++.
But after you install Eclipse, with any prepackaged modules, it's easy to add new ones. Say you have Zend Studio which is a PHP IDE based on Eclipse. You can still add all other modules supported by the version of Eclipse that Zend Studio is based on. For instance the Android SDK kit for Android development. You can add most modules by doing a search for them and finding the url to it's update site. Then click Help->Install New Software. Then you click Add and add the URL of the Update site of the module you wish to install.
Then you can select it from the Work with drop-down and it should appear in the list. Select it and click Next.
That way you can install almost all available modules for Eclipse. Note that sometimes you can run in to compatibility issues between installed modules and dependency problems. But most of the time it works fine.
They are not different versions, just the same backend with plugins for the particular language. Just that the specific versions are configured for best use with the language specified. If you want to use more languages than the default one in the eclipse you downloaded, just download the plugins you require and install in your installation of eclipse
Eclipse is plugin based IDE and these plugins may not like each other sometimes. It will be better to use more installations. In fact if you are developing Java and PHP you will need only 2 of them.
STS is a good Java toolkit especially if you work with spring.
If you new to Eclipse you should know that it can go crazy couple of times per month if you install too much and it is very annoying to see that one day your webapp is deploying and second day no...
Keeping installation separated you will have better control.

Why does my Eclipse plugin show up in Eclipse RCP version, but not in other versions like Java and Java EE?

I have developed an Eclipse plugin using the RCP version of Eclipse. I have used the plugin via a 'run application' launch as well as by exporting the plugin as a JAR and putting it in the plugins directory of Eclipse RCP.
The problem is that when I put the plugin JAR in the plugins directory for my Java version or Java EE version of Eclipse, it doesn't seem to be loaded as one of the plugins. I go to the preferences to look at the pref. page for my plugin and it isn't even listed.
This is my first Eclipse plugin, so I don't have much experience using plugins across different distributions of Eclipse and so forth. Any ideas of how to fix this? I would like to be able to use the plugin in any Eclipse (Java, Java EE, RCP, etc.)
Try putting your plugin under install/dropins/plugins directory. As of Eclipse 3.5, adding plugins directly to the root plugins directory isn't supported.
This should be enough for you to experiment further, but this isn't a good way to install finished plugins. The best way to install plugins is via a published repository. You will need to create a feature to hold your plugin and then use Export -> Plug-in Development -> Deployable features wizard or investigate command line build solutions such as pdeBuild.

customized version of eclipse

I currently have the android sdk running with eclipse. It happens to be that I also want to download stanford's customized version of eclipse in order to learn some other stuff. Will there be a problem downloading and installing this customized version if I already another version of eclipse installed on my computer?
Nope! Just make sure you install them to different locations and (potentially) use different workspaces. Eclipse is totally self-contained in the eclipse directory (or where ever you install it).

Categories