Netbeans 8.2 doesn't start - netbeans-8

I just installed Netbeans 8.2 with the JDK package. When I open the exe file nothing happens. Looking at the task manager I notice the netbeans service starting then stopping. I tried typing in the --trace command in the command prompt but don't see anything useful for me to fix.

I had the same problem because two JDK versions were installed on my pc, so changing the Netbeans needed JDK to lower version solved my problem. here are my passed steps:
Step One
In your Netbeans home directory (for example, C:\Program Files\NetBeans 8.1), open up the netbeans.conf in the etc directory (C:\Program Files\NetBeans 8.1\etc\netbeans.conf).
Step Two
There is a property called netbeans_jdkhome. Change the value to match the JDK you want Netbeans to use (for example, C:\Program Files\Java\jdk1.8.0_161).
Step Three
Save your changes (user must be Administrator)
Step Four
Restart Netbeans

i had the same problem. i solved it by reinstalling JDK. but at first i had two applications that were using JDK (intellij and netbeans) when i uninstalled the intellij the netbeans started to show the problem of starting in task manager and failing on loading the modules.

Some policies in the Network where now I am working changed, so I started NetBeans as Administrator and the problem was solved.

Related

IntellijJ IDEA 2020.2.3 Not Starting

I downloaded IntelliJ IDEA Community edition from jetbrains and I installed it.
When I try to run it, nothing happens.
It doesn't respond.
Tried uninstall and install again, same.
Using Java 11.
First check if the JAVA_HOME variable is set.
If you go to IntelliJ Idea installation directory, try running idea.exe or idea64.exe, it will clearly say to add the JAVA_HOME variable and also append it in path variable.
Come back again to IntelliJ Idea installation directory and double click on idea.bat file.
It should open now.

intellij won't start after switch boot jdk

I wanted to debug my project under Open JDK 11, so I tried to switch boot jdk to the OpenJDK11 path. I am using the community version on Windows 10.
The suggested restart didn't happen, I only got the following error:
JDK needed
How can I reset the boot jdk without Intellij starting?
Thanks in advance and kind regards
The IntelliJ Advanced Configuration docs say the configuration directory on windows is:
Syntax
%HOMEPATH%\.<product><version>\config
Example
C:\Users\JohnS\.IntelliJIdea2019.3\config
Then, just delete the studio.jdk file in that directory, and IntelliJ will boot with its default.
I have a related answer about Android Studio
For MacOS(checked on Catalina) just run the "repair" binary located in:
/Applications/IntelliJ IDEA CE.app/Contents/bin
you can just delete this config file /Users/xxx/Library/Application Support/JetBrains/IntelliJIdea2022.1/idea.jdk

SBT project refresh failing in IntelliJ IDEA with "Access is denied" error

I have recently migrated a Scala project over to IntelliJ IDEA (v13.1.4) from Eclipse, and I'm seeing an unusual error when I start IDEA:
SBT 'myproject' project refresh failed:
Error: Cannot run program "C:/Program Files/Java/jdk1.8.0" (in directory "C:\src\myproject"): CreateProcess error=5, Access is denied
CreateProcess error=5, Access is denied
Everything seems to work OK otherwise, and I have no problems executing SBT manually from the command line.
I'm running the idea64.exe executable on Windows 7 Professional 64-bit, with a Java 8 64-bit JDK that is installed in C:\Program Files\Java\jdk1.8.0.
I have also configured the IDEA_JDK_64 environment variable to point to this Java 8 JDK (with the value C:\Progra~1\Java\jdk1.8.0, so that it contains no spaces); JAVA_HOME is set to the same value, and the JDK is also included on my Path (as %JAVA_HOME%\bin). The project itself is configured to use the same Java 8 JDK.
However, the error appears to indicate that IDEA is trying to execute the jdk1.8.0 directory, rather than a program within the JDK installation.
Any suggestions for why I'm seeing this error?
As you might know, I think it is a bug of Scala Plugin.
This bug has been fixed already.
https://youtrack.jetbrains.com/issue/SCL-7481

Intellij project between Windows and Linux - use the 'default system provided' JDK?

I've got two dev workstations, one running Windows, the other running Linux. I work on a Java project using Intellij on both. Both platforms have the Oracle JDK 7 installed in the default locations.
For some annoying reason, every time I switch platforms, I need to update the project configuration to specify what JDK it should be using. In the project's "Project SDK" setting, there's a JDK selection which includes two entries - 1 for a JDK in c:\Program Files\Java\jdk_1.7 and the other for a JDK in /usr/lib/jvm/java-7-jdk/. If I open the project on Linux, I have to specifically set the Project JDK to be the second. If I save the project, close, commit, and then checkout and open on Windows, it complains it can't find the JDK, and I have to manually set it to the Windows version.
Why can't Intellij figure this out automatically? I appreciate that testing against multiple installed JDKs is a useful feature, but is there a way to tell a project to 'just use the default JDK'?
You need to have your JDK configurations to have the same name, lile 1.6 or 1.7. Project file references JDK by its name only so it will work out of the box in all IDEA installations on different operation systems, the only requirement is that there is JSDK defined under exactly the same name.

Cannot run netbeans IDE After Adding python plug in

I added this plug in to my netbeans 7.2 IDE. Then, when I restarted the program and tried to open it again it did not open
as shown in this picture
I tried to restore my Windows system to previous restore point but the problem still exist.
any ideas how to solve this problem
I've tested the repository that they advised you to adding in the your Netbeans install.
But really has reference to many more plugins and features installed,
if you add this repository after upgrade the NetBeansIDE you ​​will see that all base modules will have replaced by the development release and practically you will have another version of netbeans installed.
I advise you to uninstall your current netbeans without deleting your workspace and reinstall your netbeans downloaded directly from the official website.
And also I would advise you in the future should try the unofficial plugin in a test environment. before bringing in your work
environment