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.
Related
I have an assignment for my school that I have to submit that needs you to create a Java application that involves recursion, file read, and javaFx. I have a 15 inch MacBook Pro with an i7 processor. When I try to use JavaFx in a class in Java, I always get errors saying that javaFx.application.Application or javaFx.scene.Scene cannot be applied to a type. Basically, my Java oxygen application cannot run javaFx. I've tried multiple YouTube videos on how to download plugins from oracle and the Java oxygen marketplace. I told my instructor and he hasn't gotten back to me yet. Everytime I download a possible plugin like e(fx)clipse/2.0.0/ (or something like that), Java oxygen sends a message that it cannot complete the operation because new software has already been installed. I kept searching oracle for the latest JDK but javaFx still won't download. I was just wondering if it had to do with me having an Apple and not Windows computer or is there something else I can try. Thanks for your help!
Just go here and download the Mac version of the JDK and install it.
http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
That is all which is technically needed to run a JavaFX application. You should also download and install the latest version of Eclipse (Photon) because it fixes some problems with the latest Java.
http://www.eclipse.org/downloads/index-developer.php
If you like you can also install e(fx)clipse from the marketplace but it is not needed to write JavaFX applications.
Disclaimer: I am new to Java, new to Linux, and new to Netbeans - apologies for any over/under explanation - please ask and I will add/remove info.
I have a model written in Java in Netbeans 8.2 that has been successfully running in NetBeans 8.2 on Mac OS. This version of NetBeans was downloaded with JDK8u171 (JDK/Java package).
All components of the model have successfully transferred through FTP (filezilla) to a remote Linux machine.
The Linux machine has a copy of Netbeans 8.2 and has java/1.8.0-oracle (and 1.6.0 and 1.7.0), and has java/1.8.0-openjdk (similarly, 1.6.0 and 1.7.0 also).
I am assuming that 1.8.0-oracle is the equivalent of JDK8u171 but I may well be wrong.
When I load netbeans using
module load java/1.8.0-oracle
module load netbeans
netbeans
The program opens (via remote desktop - x2goclient), and I can search for the project and open it.
Once open, I see:
'myprojectitle (broken)' in the project window on the left of the NetBeans GUI
right click -> resolve problems
...opens a screen saying
'The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see http://wiki.netbeans.org/FaqRunningOnJre for more information.'
Does this mean I am using the wrong jdk/java package?
Or is the jdk package configured incorrectly in Netbeans, if so how can I reconfigure?
Any help would be greatly appreciated.
The solution to this was found at
The JDK is missing and is required to run some NetBeans modules
Whereby, java/1.8.0_171 needed to be installed and then netbeans needed to be opened as follows:
netbeans --jdkhome /path/java/1.8.0_171
Apologies for a repeat, but hopefully this answer can either redirect or offer a solution
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
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
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.