Netbeans 8.2 not responding - netbeans

I am brand new to computer programming for CIS 210 and it's off to terrible start. Downloaded JDK 9 and Netbeans 8.2. Netbeans won't let me open a new project or file. No error message or anything, almost as if I'm not clicking it. Screen remains blank as seen in the link below. It's driving me insane.
Blank Screen when I click on new project:

If you had Netbeans installation over Java 9 then Please note Netbeans does not work with Java 9. Proof: [https://forums.netbeans.org/topic68000.html][1]
The solution is for Windows, but the same logic applied in Linux too.
Solution1:
You have to edit netbeans.conf find to your java installation path. You can find netbeans.conf inside etc folder of Netbeans installation folder.
Make your netbeans.conf like below.
Eg, netbeans_jdkhome="C:\Program Files (x86)\Java\jdk1.8.0_144"

NetBeans 8.2 does not support Java 9. It just won't work.
The solution is to download the latest nightly build of NetBeans, which does support Java 9:
Normally you would go to the NetBeans download page and click the Development link in the top right corner of the screen.
However, I just tried that and it looks like their web page for downloading nightly builds is not working properly at the moment due to "...violates the following Content Security Policy directive..." errors. I've never seen that before.
A temporary workaround for that problem is to go directly to Index of /download/trunk/nightly/latest/bundles/ and select the download that is appropriate for your environment. You should be able to parse the file names to work out which one you want, depending on whether you need 32-bit or 64-bit, whether you are running on Mac OS or Linux or Windows, etc. (To be clear, ignore this bullet point if the Development link in the first bullet point above is working properly.)
Also note that you can safely install and run multiple versions of NetBeans concurrently: use version 8.2 for Java 8 development, and use the Development Version of NetBeans for Java 9 development.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Update:
The page for downloading Development Builds of NetBeans is working again, so go there, select your Platform from the droplist, and then click the appropriate Download button.
NetBeans with Java 9 is working fine for me using that approach.

NetBeans 9 would be supported version for Java 9, which was supposed to be released by Aug 2017
NetBeans 9 will be released from Apache Software Foundation as new
Apache project. NetBeans is being donated to ASG by Oracle. NetBeans
9 main theme will be to support this upcoming Java SE 9 release.
Of course, you can use NetBeans daily build, but there won't be guarantee of it's stability.

Related

Can't add Java Applications in Eclipse Run Configurations after upgrading to 4.7

My application isn't running correctly with Java 9. In order to debug it, I upgraded to Eclipse 4.7 (oxygen) since Neon doesn't have Java 9 support, and applied the Java 9 support patch.
After doing so, eclipse was failing to load any of my pre-existing Java Applications. Thinking it might be a version difference thing, I deleted them, to try re-adding. But when I click the "New" button to add a configuration, nothing happens.
If I double-click "Java Application," I get the following error:
An error has occurred. See error log for more details.
tried to access method org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.getTabViewer()Lorg/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer; from class org.eclipse.jdt.internal.debug.ui.launcher.LocalJavaApplicationTabGroup
I am able to add configurations for other types of applications (Java Applet, Eclipse Application) so it seems only to be an issue with Java Applications.
I also tried a fresh workspace, but that has the same issue. How can I fix this?
This is kind of a duplicate but since I experienced the issue and have seen a few others post about it, I'll post my answer of how I fixed it here.
If you go here: https://marketplace.eclipse.org/content/java-9-support-beta-oxygen/
You need to follow the step about updating Eclipse 4.7 from the link that ends in 4.7-U-builds. When you go to Install New Software and select Eclipse SDK, click Next until you get to the Install Remediation Page, and make sure that you are selecting the second option that says something like "update my installation to be compatible with the items being installed" instead of the option that says "keep my installation the same and modify the items being installed to be compatible."
The first time I installed Java 9 updates, I did it the latter way and ran into this problem. Now that I've gone back and chosen the former, I am able to add Java Application Run Configurations again.
Hope this helps.
Eclipse Oxygen.1a (4.7.1a) Release
Update as of 11 October,2017 - You shall upgrade to the latest eclipse package Eclipse Oxygen.1a (4.7.1a) which is marked as released and supports Java 9.

Coldfusion Builder Plugin doesn't load

I have to say that while I love ColdFusion Builder, I hate setting it up. Every time I have to take 4 or 5 installs before I get it right. At the moment I am setting up CFBuilder 2016, 64 bit. I want to set it up as a plugin on this Eclipse setup: Eclipse IDE for JavaScript Web Developers.
I'm using the 64-bit version of both. I extract the Eclipse environment to my desktop. Then go install CFBuilder, specify the folder I extracted to, and install. When it completes and starts up, it runs, but none of the ColdFusion Builder add ins are available. CF is not available as a new project, CFMs aren't available as new files, etc.
Your link implies Eclipse Indigo (3.7). Though CFBuilder installation FAQ at https://helpx.adobe.com/coldfusion/installing-coldfusion-builder.html states Eclipse 3.4.2 or higher, its actual installer insists on 4.3.2/4.4/4.5 (Kepler/Luna/Mars) screenshot. As of Halloween 2016, it doesn't seem to install correctly in 4.6 (Neon) either.

com.google.appengine.tools.enhancer.Enhance not found in Google App Engine project

I installed the Google Plugin for Eclipse and created a new Google App Engine project just as decribed in https://developers.google.com/appengine/docs/java/tools/eclipse. When building the project I'm getting the error
Error: Could not find or load main class com.google.appengine.tools.enhancer.Enhance
I have searched similar questions on stackoverflow and the only suggestions were to use JDK 7 and uninstall any existing JDK 6 even if not pointed in Eclipse Installed Jres. I have done both, and I'm still I'm facing the same error. This is on Windows 7 x64 machine and the Eclipse and JDK are 32 bit ones. I also tried on another computer which is a Windows server 2008 x64 machine and again the Eclipse and JDK 32 bit. I face the same error there also.
Please help before I shoot myself.
If you are not using JDO/JPA, uncheck the box for this option in the App Engine tab for your project.
If you do use them, make sure that the relevant files are present in the WEB-INF/lib/ folder: https://developers.google.com/appengine/docs/java/datastore/jdo/overview?csw=1

Failure creating clojure project in Netbeans

I decided to take a look at Clojure and thought the best and easiest method for me would be to use Netbeans with the Enclojure plugin as I didn't want to have to learn Emacs at the same time. I installed Netbeans 6.9.1 together with the latest JDK using the bundled install (on Windows 7). All went smoothly. I then followed the instructions at http://www.enclojure.org/gettingstarted for installing the enclojure plugin.
When creating a new Clojure application I get the following and see no project files :
java.io.IOException: Could not connect to URL nbresloc:/org/enclojure/ide/templates/project/ClojureProjectTemplate-1.1-distribution.zip. No such resource was found.
Maven is working using mvn --version
I have installed on both Windows 7 and Ubuntu 10.04 (same result).
I have looked on the Enclojure forum and there is a recent open thread for this issue, but it is not solved by anybody presently.
I have Java SE enabled in Netbeans
I have tried enabling the different platform versions of Clojure, 1.0.0, 1.1.0, etc..
The REPL seems to be working happily in Netbeans : (printf "hello") hellonill
I did try ClojureBox on Windows 7, but again that's Emacs, but emacs failed to start the server and hung there and became totally unresponsive.
I come from a .Net background (not Java) so my knowledge of the Java environment is somewhat lacking. My reason for looking at Clojure and not Java.
I am new to Netbeans
If you're interested in a working Maven pom, here is one I've used with Enclojure successfully:
http://puredanger.com/techfiles/100624/pom.xml
There are some project settings you'll need to change and a few dependencies to remove but it might be a good start. In general, I usually create the pom first and then just import the project into NetBeans rather than using the NetBeans options to create projects.
By the way, the REPL work in Enclojure has been split and is coming soon to the Eclipse plugin Counterclockwise.
I had written a small post on it on my blog.
Anyways here is the procedure:
On searching realized that this is a common problem for installing it on > Netbeans 7.. But with some manual tweeks managed to install it. Here are the instructions to install on Netbeans 7. plus:
Install Netbeans 7. You need only the Java SE version.
First Run of Netbeans after installation. Activate feature Java SE
Activate features is on the Start page or from Tools,->Plugins>Installed, click ‘Activate next to the Java SE support
Install Maven: It is HIGHLY recommended that you install maven: http://maven.apache.org/download.html
Go to the Netbeans->Preferences, click on the Miscellaneous tab and make sure the External Maven Home path is pointed to your maven install
Download the EnClojure 1.5 version from here. If you want to manually build, you can do that by following the instructions from here.
After downloading the file, In Netbeans: Goto:- Tools ->Plugins->Downloaded->Add Plugins->Downloaded
Then browse to the downloaded file. Later install by clicking at the “install : button.
Restart and you are on the go.
Visit here to build and run hello world project.Basically building the EnClojure 1.5 manually is the tough job. I hope above was useful.

Configuring Blackberry Eclipse plugin for 4.70 or 5.0 components

I am looking for help in configuring the Blackberry development environment. In fact, it is quite a frustrating process. The blackberry site is pretty useless. Between links that have been moved, details that are assumed and documents that are out of date it is proving very difficult to get anywhere with blackberry development.
Pheww, now that my rant is done. Here is my problem:
I have finally got the JDE for Eclipse working (that is a story in itself). However, my blackberry workspace is only giving me the option of targeting the 4.5 JDE components. How do I update it to use the 4.7 components?
It would be preferable to have step-by-step instructions but I would appreciate any help that can be provided.
Here are the details:
I have Java jdk1.6.0_14
Eclipse version 3.4.1
I have installed the Blackberry JDE 4.7
I have installed the Blackberry JDE Component Package 4.7
I have installed the Blackberry Smartphone simulators 4.7
Totally agreed - it's not at all obvious what to do. I've never had luck using their update site, so I just download and install the component packs manually:
Download the "Eclipse Software Update for the BlackBerry JDE v4.7 Component Pack" from the BlackBerry developer zone (it's a zip file)
From Eclipse open the Help menu and choose Software Updates
Click on the Available Software tab
Click Add Site
Choose Archive and select your zip file
Make sure everything under the JDE 4.7 tree is checked
Click Install and continue through the wizard
You are a life saver!!!!!!!!!!! This worked perfectly. I understand the frustration. If this. If this doesn't work I would recommend deleteing the entire directory and reinstalling eclipse.
You should already have JDK installed:
This is what I downloaded for 64bit windows:jdk-6u16-windows-x64.exe get one that matches your OS. Should be jdk version 6.
I installed this version: Should work for windows x86 and 64bit:
eclipse-java-ganymede-SR2-win32.zip
Other versions shouldn't work. has to be 3.4 but not 3.5 (gallileo) and it has to be for java.
Then I installed the plugin. Then I followed the instructions above and it worked.
eclipse-java-ganymede-SR2-win32.zip does not work with the 64-bit JDK.
You have to use eclipse-SDK-3.4.1-win32-x86_64 with the 64-bit JDK. Once you use these two things together and install the Eclipse Plugin, the installation works fine, but I always get "Cannot find RIMIDEWin32Util.dll. This is a required component of the IDE." and then "Cannot find RIMUsbJni.dll. Without this dll the IDE cannot connect to USB enabled handhelds. Add RIMUsbJni to java.library.path". Both of the supposedly missing files are located in my workspace path under .metadata.plugins\net.rim.eide.bootstrapper\installDlls. I have placed those two files pretty much everywhere I could think of, even c:\windows\system32, and it still claims to not be able to find these files.
Now for the fix....
You can use eclipse-java-ganymede-SR2-win32.zip with the 32-bit JDK. Make sure you add the JDK\bin to your %PATH% environment variable. You can then install the Blackberry JDK Plugin and Component Pack and everything will work!
Note: In order to "Configure Blackberry Workspace" from the Blackberry menu, you must first create a Blackberry project. Found this out the hard way.