Netbeans suddenly failed to start after saying "Done Loading modules" - java

Netbeans 8.0 fails to start in Ubuntu 12.04 suddenly. Previously it used to work fine. But now it does not start, when I try to start, the netbeans blue loading box shows up, sometime after showing the message "Done Loading modules", it disappears & netbeans windows does not appear. However netbeans is still shown in the running processes, but the netbeans windows does not open after any time.
In the past, this also happened with netbeans 7.4 sometime ago when I disabled some plugins (probably it was due to disabling some Hudson plugin/Husdon UI plugin). But now this time it is probably after an automatic update of a plugin, I don't know which one now. I tried remove the entire cache directory as well but no improvement to situation. Is reinstalling netbeans, the only solution each time(Huh!) ?
Edit:
Sometimes it works when I run from terminal using(worked for netbeans 8.0 but not for 7.4):
$ /bin/sh /home/user/netbeans-8.0/bin/netbeans

I have experienced this before with Netbeans 7.4 and 8 on Ubuntu 12.04 x64 and on Windows 7 SP1 x64. The only way I could solve it was by removing Netbeans and its cache, and then reinstalling it. Maybe it's a rigorous solution, but it's a solution.
However, maybe you can check your logs and see if there is an exception somewhere. It could be helpful to at least report an issue to the Netbeans developers (or plugin developers, if a plugin is the culprit), so your particular issue (and possibly mine) can be fixed. Off the top of my head, the Netbeans startup log for Ubuntu is located at /home/<user>/.netbeans/8/var/log, you could check that out.
Another way to go is to reinstall Netbeans and add your plugins one by one. That way you can root out the culprit and address its developers.

Related

Running ECLIPSE on a memory stick

I'm trying to run Eclipse (Neon 1) on a memory stick. In a first time, the problem was the JVM 1.6 installed on the machine which is too old. To use a compatible JVM, I created a jre directory in Eclipse's directory and placed in it a JVM 1.8 (the last one found on ORACLE's web site).
Now, when I try to run Eclipse, nothing happens. I got the splash screen with "Eclipse Neon 1" then, nothing, not even an error message.
What is the problem and what can I do ?
Important note : I can't install a JVM on the "native machine" as I'm not administrator.
Than, you for all your answers. Have a good day.
When you need programs to run off a USB, always search if a portable version exists first. This is a working portable version of Eclipse Neon but it is another version though.
Finally, I found (one of) my mistake.
I used a jre(...).exe. It's the problem. I downloaded the tar.gz file of the jre and unpacked it. Then, I used the jre of this unpacked version and everything was ok except a problem with an "access restriction" to some libraries.
I fixed that last problem with that question on StackOverFlow. And now, everything is ok !
Great ! Thank you to everyone for your help.

Eclipse doesn't find jdk

So I asked this on RaspberryPiExchange but someone there told me to ask here so here it is.
I recently had to reinstall Rasbian on my Raspberry Pi due do something becoming corrupt and apt-get not working. I made sure to backup what I could before I reinstalled. So when I went to reinstall Eclipse and pickup where I left off in one of my Java projects it was very worrying when Java keywords weren't highlighted. I've tried googling to figure out if I skipped a step but it does seem I have. I'm running Jessie 8 with jdk8 that came preinstalled assuming it's the same one you'd get from doing apt-get install. So my question is can anyone help me figure out why it seems Eclipse no longer recognizes Java as a whole. Also, I would like to mention I have already installed the Eclipse Java Development plugin.Here is a screenshot of just a few lines to better show what I'm trying to say Screenshot of an example program screenshot of eclipse
Ok so after updating eclipse using the sudo vnc session when I went back over to the regular vnc session eclipse now finds all java related things

IntelliJ IDEA 13.1 is missing Run/Debug windows

After updating my IntelliJ IDEA (from 13.0.3 to 13.1) the Run/Debug windows do not show. The corresponding menu entries in View | Tool Windows are deactivated.
I have tried editing .idea/workspace.xml or using the plugin "ToolWindow Manager" to show them manually, however then the windows are empty - no buttons or anything.
Help | About shows the correct Java JRE.
How can I bring them back?
Update: problem solved, see comments: examine log file and uninstall the plugin that is throwing an exception
Perhaps you have a plugin that is disrupting the execution of the ide?
I had very similar issue today when upgrading from 13.0 to 13.1. None of my gradle tasks were running and the Run/debug windows were not appearing. When I started one of my run targets it froze and did not start until I exited the IDE.
After looking at the idea logs in [userdir]/.IdeaIC13/system/log I found the idea.log riddled with exceptions from the plugin GrepConsole. I probably had an old version of this plugin. To resolve the issue I just uninstalled the plugin using the IDEA plugin uninstall feature. After restarting IDEA 13.1 the IDE is working just fine.
A support request was sent to Intellij on this with these findings:
https://intellij-support.jetbrains.com/requests/24625
and also the author of the GrepConsole plugin was alerted here: http://plugins.jetbrains.com/plugin/7125?pr=phpStorm
For me the windows were simply under "Services". (Alt+8)

Netbeans 7.0.1 gui does not work

I installed Netbeans 7.0.1 on Ubuntu 12.04,after choosing design tab to use gui builder the
designed gui freezes at Loading... and gives me this error
java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
then the designed gui does not appear
It's like the gui builder can not reload the gui beacuse of xml problem
I tried Netbeans 7.1 but it does not have Java desktop application and i can not use it
with my projects which i created on Netbeans 6.9
any suggestions please?
According to this bug tracker your are not the first person to stumble on that error, although the OS is not Ubuntu. It might also be the case that you are missing some Java libraries which the Netbeans installation might assume that you might have.
Fresh installations of Ubuntu (amongst others) come packed with the OpenJDK. The full Java SDK needs to be installed separately.
The issue that is causing this is due to a version conflict with Xerces. I found that if you use netbeans -cp:p [location of the netbeans xerces version] then things are good... if not it tries to include it from else where and things go wonky.

Netbeans IDE (full) 6.5.1 just hangs when clicking on Services Tab

I am using Netbeans IDE 6.5.1. I have made projects in netbeans. My pc configuration is :RAM : 1 GB, HD: 160 GB, Processor: AMD, OS: Window Xp Sp2. Netbeans IDE takes around 2 hrs time to load at my pc (too much time), i had read somewhere that for improving netbeans performance you can remove extra modules which are not required. SO i did, removed some plugins which was not required for my project. But after that when i click on services tab, netbeans just got hangs. It does not response to any thing. How to solve this problem......?
I have also tried to reinstall Netbeans IDE, but it is not working. Netbeans can't be removed. i had downloaded netbeans from Netbeans website.plz help.
Other Config:
jdk 1.6.12
Netbeans IDE 6.5.1 - full version
How much time it should take to load complately, according to my pc configuration.(if no other processes are running at that time.) ?
Thanks
Maybe try to defragment your hard disk and check for background services on your system (use msconfig - its a good tool).
At the worst case, try to format your hd re-install your OS. Maybe an slow running system causes netbeans hanging.
Are other applications having problems too?
This could be anything. Please provide more relevant information about your environment.
Which Netbeans bundle (Java only, Java EE, ...)?
Which JDK version?
You could
reinstall JDK (or upgrade to newer version)
reinstall Netbeans (or upgrade to newer version)
backup and remove you Netbeans user folder
run VisualVM and check if Netbeans is eating too much memory
Note: VisualVM comes with JDK starting with version 6u10.
It should be noted, that Netbeans need much more RAM and HDD space compared to most ordinary applications.

Categories

Resources