Netbeans IDE Open Project(Browse) menu option is not working - java

I am trying to install Netbeans 7.2 in my laptop. After installation "Open Project" menu option is not working, so I am unable to open existing project.
I mean "Open Project" option in the menu is not working. And "Browsing for Jar" also not working.
Ateast It is not browsing for any project. Just simply "Open Project " menu option not working. So I am unable to open the existing Netbeans projects from my system. the only thing I can do with my Netbeans is I have to create new project from scratch.
The menu options which need to browse from computer like open Project are not working. I uninstalled& reinstalled different versions of Netbeans so many times. And formatted C drive and reinstalled OS also, still not working.
Could any one please help me...

Got it,
Solved problem with help of netbeans.org after reporting bug in netbeans.org
https://netbeans.org/bugzilla/show_bug.cgi?id=230339
The problem is because of "JDK Version". I had installed beta version of JDK 1.6.
Uninstalled JDK from my system, downloaded correct version from oracle website and installed.
Finally it is working after so many days of struggle.
"But I dont understand why Netbeans cant detect this at the time of installation and warn us."
Thank you guys your help and Netbeans.org for support.

Try removing the older version of Java SE Development this issue is because you have more than 1 version installed. It has nothing to do with NetBeans it is the Java SE Development.
Go to control panel / Programs / uninstall a program and find the version of Java SE and remove it. 
or watch this video
https://www.youtube.com/watch?v=gfmNXcOvaqI&feature=youtu.be

Related

NetBeans 8.2 create not project

I am sure it is simple problem, but I am new to Java and PHP, I want to learn Java, I bought a book, I have also a couple of books as PDF from internet, at the Beginning of the book there is always intructions, how you can install for example NetBeans to start programming. I have installed jdk 8 and NetBeans 8.2.
The problem is, when I start NetBeans, the Buttons for creating new Project not function and is not reacting on my click. I have installed all plugins. I have searched the internet. I have found, that I should click create new Project, I will get a dialogue, then I should choose the desired project. But it shows nothing when I click that button, it simply does not react. Please help me.
It might have been caused by JDK 9. You could have changed the JDK 9 to previous version and it would have worked.
For that you would have to go to:
\NetBeans 8.2\etc
Then you can edit: netbeans.conf . Just change the directory for JDK from 9 to previous version if it is installed. (or install JDK 8 and then do the same process)
I have uninstalled the NetBeans 8.2, which I downloaded it alone from NetBeans website, after that I have downloaded it as a complete package together with Java SDK from Java website, now it functions wonderful
Netbeans 8.2 is bundled with Oracle JDK 8. Just download the installer for your platform and install it. I have tested the installer with Windows 10 and it works like a charm.

How to reinstall NetBeans? all the available components( packs and runtimes) are already installed, How to proceed?

Problem with NetBeans re-installation( the first one worked fine): All of the available components are already installed. click cancel to exit the installer. No way to proceed!
Previously I downloaded and installed the window version of NetBeans IDE 8.1 with "All- a full download option (215 MB)" , which contains all the runtimes and technologies available for the NetBeans IDE. https://netbeans.org/downloads/. a weak ago i restored my computer to an earlier point in time. after restore my recently installed applications are deleted including NetBeans, my favorite IDE to run java.
When I try to install it now, I got a problem! it says all the available components( packs and runtimes) are already installed. And I have no way to go forward. The "Next" button is disabled.All of the available components are already installed. click cancel to exit the installer. No Next button. please see the picture
NetBeans IDE 8.1 Installer welcome snapschot
Go to "C:\Program Files" and look for "NetBeans" folder, then delete that folder and try reinstall it, it should work fine this time.
Also,this can help link
On debian you might try go
/usr/local/netbeans-8.2/uninstall.sh
Try deleting the glassfish server and the Apache server from the program files too, if the above don't work

Can't get Eclipse to run with Java FX

Alright so basically, I'm trying to run Eclipse with JavaFX, but then it gives me this error:
You are not running your eclipse instance with Java7 or Java8. The JavaFX tooling is disabled because of this.Make Java7/8 the default system java or adjust your eclipse.ini to pass -vm pointing to your Java7/8 install.
In case you want to turn off this check open your preferences and go to General > Startup and Shutdown and uncheck 'JavaFX Tooling Java Check'
Now I know it isn't pointing to the right SDK, but I have no idea how to change it, since I'm kind of new to this this stuff. I've already downloaded JDK 7.40 as well. I'm also using Ubuntu on a virtual machine, if that even matters anyway. Can anyone help me, I'd appreciate it.
Pre-requirements:
Install Java™ 8.
Install Kepler SR2 (4.3.2) .
The Kepler is still not supporting Java8. What to do?
Open Eclipse
Help > Install New Software…
Enter the following URL into the ‘Work with’ field:
http://download.eclipse.org/eclipse/updates/4.3-P-builds/
Press ‘Enter’
Select category ‘Eclipse Java 8 Support (for Kepler SR2)’
Click ‘Next’
Click ‘Next’
Accept Licence Agreement
Click ‘Finish’
Now jre8 is correctly located.
Now configure JavaFx
Open Eclipse
Help > Install New Software…
Enter the following URL into the ‘Work with’ field:
http://download.eclipse.org/efxclipse/updates-released/0.9.0/site
Press ‘Enter’
Select category ‘Eclipse Java 8 Support (for Kepler SR2)’
Click ‘Next’
Click ‘Next’
Accept Licence Agreement
Click ‘Finish’
It looks like the default java on your system is not java7. What do you get when opening a shell and execute java -version? Solution is to:
A) make java7 the default java
B) start eclipse with -vm
Apparently, you have installed 32bit Eclipse and 64bit JRE/JDK on a 64bit OS. Please use 64bit Eclipse and the problem will be solved. Please make sure JAVA_HOME And JRE_HOME is present in environment variables.
I had the same issue. I tried re-installing Eclipse, but it wouldn't work. I had to completely remove the project and delete all the project files. After that, I re-started eclipse and created the project again. However, this time I made sure the project path included the Java FX library as shown in the screen shot.
Java Build Path
I did this while I was creating the project and then I was able to create the project without any issues. Give this a try.

Eclipse Juno says SWT not installed, but Available Software panel says it is

Trying to do some development with SWT, but am unable too as it keeps saying the SWT package is not installed. See following screenshot
However when I go to Help->Install New Software->http://www.eclipse.org/swt/updates/3.8 it states that all items are installed for SWT Tools. Anyone ever ran inot this, and if so, what was needed to resolve?
Using Eclipse Juno with WindowBuilderPro on Windows 7. Both eclipse and Windows 7 are 64bit installs
Usually SWT should work right away.
However, this might work.
All it does is add the SWT library to your project.

Eclipse is saying "Update Android Developer Toolkit"

I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."
Going to Help > Check for Updates in Eclipse, returns no updates found
Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/. Selecting Developer Tools and next, returns
Cannot complete the request. See the error log for details.
"Android DDMS" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Tracer for OpenGL ES" will be ignored because it is already installed.
If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819
Now for the interesting part:
If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...
Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far
Some extra info, that people often ask for
OS: Ubuntu 12.04 LTS
Eclipse Platform: Version 3.7.2
In your installed folder of eclipse there is a folder named plugins.
Do the following:
Find the plugin file/folder of Andriod SDK and move it to some other folder for backup.
Download from Android site the latest version of Android SDK
Copy/paste it in your plugins folder
Restart eclipse
And everything should be fine.
Try using http://dl-ssl.google.com/android/eclipse/ instead of https://dl-ssl.google.com/android/eclipse/
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.
From the Eclipse Preferences Menu..
-Select "Install/Update"
-From the General Menu, There should be a link button that says "Uninstall or Update"
This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!
Go to the below site
https://developer.android.com/sdk/installing/installing-adt.html
and download ADT-22.3.0.zip from the site.
then follow the procedures mentioned there..
uncheck "Contact all update sites during install to find required software"
see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
Go to Eclipse->Help->Install new software
Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
From the list, select all and then click next
Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
Restart Eclipse and everything should be working fine.

Categories

Resources