Newly installed Netbeans 8.0 does not recognize my projects previously build in Netbeans v6.9.1. How do you import these?
Do you have old projects in some folder?
Copy this projects to C:\Users\User\Documents\NetBeansProjects
In Netbeans File/Open Project
Select your project
It looks like you've installed the NetBeans for Java SE without NetBeans for Java EE. You need the NetBeans for Java EE bundle (second column from the left) for all the web projects.
In my case I was using Java EE in one project, PHP and Zend in another. These projects needed plugins to work. I went to
NetBeans -> File -> Open Project
and my projects were listed even though they didn't show up in the Projects file browser. Each project's name was
<unrecognized project; missing plug-in?>
so I went to
NetBeans -> Tools -> Plugins
there I installed PHP, Zend and Java EE. I restarted NetBeans and everything worked fine.
This thread was useful to me:
http://forums.netbeans.org/ntopic17656.html
Once, I tried to install the Java SE Download bundles for Netbeans ( Was like mistake in clicking the Download option) but I was suppose to go for Java EE. SO, I was facing problem to import my previous Java EE Netbeans Project since I was in JavaSE Environment. Maybe Importing plugins for Java EE /Web or few more configuration would work for
that case but I was seriously stuck for a long time.
The Error was like :
<unrecognized project; missing plug-in?>
So, What I did was simply uninstalling Java SE Netbeans and installing Java EE one and my older project was easily imported. So, seriously you might need to care about the download bundles or the installed plugins but Netbeans is mostly good for importing / Exporting.
Related
I installed Netbeans 9.0 from the Apache site and have installed Jave JDK 10.0.2. Netbeans launches but when I try to open an existing netbeans 8.2 project it does not recognize the project folders.
I can create a new project and a file folder structure is setup that looks the same as my 8.2 project and this can be opened okay. It's like the open project menu does not see a 8.2 project in the folder path.
added 9/6/18: The project is a simple windows GUI controlling a Labjack USB digital IO.
I read this article on Apache NetBeans:
So, does that mean that all the features that are not integrated into
Apache NetBeans (incubating) 9.0 cannot be used? No, it does not. Go
to Tools | Plugins in Apache NetBeans (incubating) 9.0 and, in the
Settings tab, register the NetBeans IDE 8.2 update center:
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
Then go to the Available Plugins tab and you'll see all the plugins
for NetBeans IDE 8.2., and search for the word "Kit", which will give
you bundles of modules, for higher-level features such as C/C++,
JavaScript, Groovy, PHP, and enterprise Java (i.e., Java EE or, as it
is known now, Jakarta EE).
That solution is on Apache NetBeans.
I have downloaded a new Eclipse Kepler IDE yesterday and I am unable to find the dynamic web project template and all other related files in there like jsp file, servlet etc. This means I am unable to create these files directly by choosing from wizard, like I was doing in Eclipse Helios. Also, it's not possible to run the previous projects that were built using Eclipse Helios? Does Kepler support web projects or not, or am I the only one who is struggling with this problem? I am using java since two weeks now, so I don't have much experience with other Eclipse versions too. Any help?
Sounds like you got the wrong distribution. You probably want the "Eclipse for Java EE developers" distribution, since that includes web development tools etc. by default.
The Java EE 6 Tutorial references java ee example projects available through the java ee 6 sdk update tool. The tutorial is oriented towards users of NetBeans and not Eclipse, but NetBeans is not an option for me.
I am new to Java EE and don't know how to take these samples and make an eclipse project from them.
The reason I don't just create a project and copy in the source is that I don't know which eclipse template or project structure I should use for each sample.
So, what should I do with these sample projects to get them up and running in Eclipse?
Thanks in advance.
Assuming you have all the required software to run the Java EE tutorial:
Install latest Eclipse IDE for Java EE developers.
Install Maven Integration for Eclipse (M2E) plugin from the Eclipse Marketplace (Main Menu: Help -> Eclipse Marketplace).
Install Subclipse plugin from the Eclipse Marketplace.
Install Glassfish tools plugin for your Eclipse version. Eg: Glassfish tools for Luna.
Add Glassfish server to Eclipse.
Get the Java EE Tutorial code using the Glassfish Update Tool. In my case, the Glassfish Update Tool did not bring all the codes from the example, so I checked out the Java EE tutorial code from the SVN. (File -> Import -> SVN -> Checkout Project from SVN). Create a new repository location specifying the URL. Example URL: https://svn.java.net/svn/javatutorial~svn/trunk/example.
Ones you have the examples imported to an Eclipse workspace, you can build an individual example projects as follows:
From the Eclipse project explorer window select the project folder you want to build. Example: examples/web/jsf/hello1
Right click on the project folder and select import -> Maven -> Existing Maven projects option. Tick the option to add the project to your workspace.
From the project explorer window, now select the newly added project folder.
Now build the project using option Project -> Build project option.
After the successful build, run the application using Run -> Run As -> Run on Server option.
This worked for me. I had exactly the same question and being new to everything Eclipse, I had trouble figuring this out.
From the link you provided there is a Required Software section. Basically you would need to follow all those instructions except for where NetBeans IDE is concerned.
For Eclipse related configuration I would recommend the Eclipse (Helios) online documentation. Indigo is the latest version of Eclipse but not all plugins support that version.
There is a section in the documention for creating enterprise applications:
Creating an enterprise application project
After familiarising yourself with how enterprise projects are created within Eclipse you should be able to import the sample source applications used in the Java EE tutorial without too much hassle.
You would probably want to install the GlassFish plugin for Eclipse as well.
is it possible to use Eclipse 3.7 IDE for developing for the 3.5 platform? Or must I use Eclipse 3.5 IDE?
When I try to switch from Eclipse 3.5 IDE to 3.7 I get errors on projects, which were ok before:
Archive for required library: 'C:/.../.metadata/.plugins/org.eclipse.pde.core/.external_libraries/xyz/os/win32/x86' in project 'projectname' cannot be read or is not a valid ZIP file projectname
What do I have to do to exchange the 3.5 IDE with a current one, but still develop for the 3.5 platform?
I hope my explanation did make sense and was understandable :)
Additional Info:
- I never used the RCP before, now I must use it
- It's no option to upgrade the target platform (3.5)
- I searched the net and stackoverflow, but found no answers for using 3.7 and develop for target platform 3.5 (maybe nobody else has these problems or I used the wrong queries)
Cheers
Kai
Use the menu
Window > Preferences:
Plug-in development > target platform
Here you can add your eclipse 3.5 as a target platform, and then set it active.
But I don't think this will solve the errors you mentioned. I think those errors are because you are using the old workspace folder, and there is something not compatible with eclipse3.7. So maybe you can try to switch to a new workspace, and import your projects there.
I just resolved my problem :-)
In my case, there was a plugin jar, that contained the java sources:
jar
com
META-INF
src
plugin.xml
It seems like eclipse is putting jars inside of plugin jars in the following directory:
[WORKSPACE]\.metadata\.plugins\org.eclipse.pde.core\.external_libraries\...
For my plugin, it tried to put the src folder in this directory - which somehow failed.
After deleting the src folder inside the jar, the errors were gone.
RCP == bag of pain :-)
I downloaded Eclipse plain Java version and now I realize that I need of Eclipse IDE for Java EE Developers distribution.
I'm new in Eclipse world and I would to know if it is possible (and how) to install Java EE plugins via Eclipse.
There is a thread in ServerFault that shows how to install the Java EE pluggins for Eclipse Java EE plugin for Eclipse IDE
Additionally you can:
Help -> Install new software.
Pick the Mars (or the version you have downloaded such as Luna, Kepler, etc) repository
At the bottom there are install options Java EE Development
To get all of the features of the Java EE edition of Eclipse, there are several packages that need to be installed. This page lists all of the packages that are included in the current Java EE version of Eclipse. If you want all of the features of the Eclipse for Java EE developers, go to Help --> Install New Software..., select the update site for your version (e.g. Kepler) from the dropdown menu, and select the checkbox for each item listed on the above page that is not already installed.
You'll probably find the 'getting started guides' here helpful.
You probably will need to download the plug-in. The easiest way to do this would be to:
go to Help -> Install new software.
Pick the Galileo(Change accordingly) repository
All the way at the bottom there are install options for 'Web, XML, and JaveEE Development
... also this is better suited for SO
follow this
Eclipse 3.3 or earlier, it is NOT possible to upgrade the Eclipse platform itself, only its features. So, you could for example upgrade the CVS feature or the PDE feature from 3.2.0 to 3.2.1, but not eclipse.exe itself.
and
Upgrading other features (like CDT, PDT, WTP...) can be done without the need to download a new platform binary, but because many projects align very closely (eg., the Eclipse 3.2 / Callisto or Eclipse 3.3 / Europa release trains) you will likely need to upgrade the Eclipse platform as well.