I have netbeans 6.8 with java ME platform setup on my ubuntu 9.10.
My code requires the package org.netbeans.microedition.lcdui which is either not installed or not in the path.
Surprising this runs perfectly in netbeans 6.8 on windows on my friend's pc.
Is there any java ME plugin I need to install?
Can somebody help me out with this?
Thanks in advance.
Sounds like netbeans_midp_components_basic.jar is missing from your NB install for some reason.
Try get netbeans_midp_components_basic.jar off your friend's PC (under [NetBeansRoot]/mobility8/modules/ext) and put it in your own install in the same path. Or add it to your project's build path.
If the file netbeans_midp_components_basic.jar is missing, some others might be missing too which will cause problems down the line. So a better way I'd suggest a reinstall, double checking that you get the NB6.8 that's bundled with the mobility pack.
Related
Using NetBeans 11.1 with Java 11 on Linux (haven't tried on other platforms).
If I install the 'nb-javac' plugin, as recommended by the IDE notifications, the CodenameOne plugin module fails to load and therefore CodenameOne features are unavailable.
Any suggestions or workarounds?
I am using Windows 10, NetBeans 12 and had the same problem.
I solved it by removing
org-netbeans-modules-nbjavac.jar
org-netbeans-modules-nbjavac-api.jar
org-netbeans-modules-nbjavac-impl.jar
files from directory C:\Users[USERNAME]\AppData\Roaming\NetBeans\12.0\modules.
After staring NB, it notifies that some modules are missing. You can click the link to install the lastest version. It worked for me.
I hope this will help someone.
I had a similar problem with Netbeans 12.0 on Windows. I installed the nb-javac plugin as suggested in the notifications, and then immediately after was unable to run my application. I use Java FX and Netbeans said it couldn't find the javafx.controls module. Deleting the three files from C:\Users[USERNAME]\AppData\Roaming\NetBeans\12.1\module worked for me too.
I recently updated my ports on my FreeBSD 9.0 release machine and I think eclipse was upgraded due to a port upstream forced Eclipse to be rebuilt. Now Pydev is gone. I tried uninstalling then reinstalling Eclipse, then installing Pydev using pydev.org/updates inside Eclipse. It appears to install ok but I can't create a Pydev project or use the Pydev view. I tried removing my ~/.eclipse folder to force the creation of a new one, and reinstalling Eclipse and Pydev to no avail. What am I doing wrong? I'm running Eclipse Indigo version 3.7.1 build id: R3_7_1
This question was most similar to mine, but the solution didn't work for me. I also tried pointing my install site as: http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml per another question on StackOverflow, to no avail.
After some more testing I finally got the newest FreeBSD port to work. I had to launch and install the plugins as root. It didn't work another time I ran it but, this great troubleshooting document helped out. I methodically went through each step one by one, and the logs indicated there was an error on my /usr/local/lib file it was trying to unzip. My user doesn't have write access to that directory but root does. I don't know why it didn't work the last time I ran it as root, perhaps I didn't install the plug-in as root. It works now, so I'm happy. Thanks Fabio, for your input.
I'm not sure how FreeBSD packages things, so, maybe an easy way out would be getting Eclipse from Eclipse.org and installing PyDev on that fresh install (or if you're also doing web stuff, I'd suggest grabbing Aptana Studio 3, which comes with PyDev preinstalled, so, you don't have to worry about configuring it).
See: http://pydev.org/download.html for details
In particular, I am trying to install kdev-control-flow-graph
I have managed to clone the source from git, cmake the source to build a kdevcontrolflowgraphview.so installed to /usr/local/lib, but when I restart kdevelop, I can find no sign of the plugin!
Under the Loaded Plugins window, it doesn't show up, and I can't seem to find a way to tell it about the existence of the new plug-in.
I am running KDevelop Version 4.2.3 using KDE Development Platform 4.7.2 on Ubuntu 11.10 64-bit.
Any help or suggestions would be greatly appreciated.
Make sure that "/usr/local/lib" is in your KDEDIRS var, and run "kbuildsyscocoa4 --noincremental"
If that doesn't work, perhaps the plugin's .desktop file needs to have its version modified.
Also note that you aren't running KDE Development Platform 4.7.2 because that doesn't exist (you probably mean KDE 4.7.2), you should be running KDevplatform 1.2.3.
For some reason, when I go to add a JRE to eclipse/sts and give it the location of the JDK 1.6.0_22, it says:
Target is not a JDK root. System library was not found.
I am giving it this folder, which is accurate and works for everything else:
/opt/jdk1.6.0_22
But it is the jdk root. IDEA thinks so. Every other APP on the planet thinks so too. Aside: God, I really hate eclipse. This is why I never use it, because nothing works like it's supposed to. I just want to try Spring Insight out, so that's why I am using STS...
I am on Ubuntu 10.10 if that makes any difference.
Please help. I think I can finally get this to work if I can just get STS/Eclipse to stop being stupid :/
Are you sure you are pointing to the JDK folder and not the JRE folder ?
You must select the root folder of the JDK installation.
On Ubuntu (10.04, Lucid Lynx) I ran into this same problem. I was pointing at a directory that was a symbolic link (logical) to the actual JDK directory. I got around it by pointing directly at the physical JDK directory (this is going to be an issue when Java upgrades, but its the best I could figure out).
On a default install of Ubuntu, even though there was a JDK folder, I noticed it didn't have the right stuff.
I had to install the JDK using apt-get as follows
apt-get install openjdk-7-jdk
i have installed the latest netbeans 6.9 rc2 for all languages, but i only see the php tab when i use it.
prior to this version i had 6.9 beta for only php, but i have deleted that folder.
maybe the settings are still there, so it only shows php?
how can i clean everything so that it shows all other languages?
thanks
You can check and see which plugins are installed in Netbeans in Tools > Plugins.
They might be installed, but not enabled.
If you really get stuck you might still have the old netbeans user directory, with just the PHP plugins installed as your userdir.
You can delete this directory to get a clean install of netbeans.
On linux you will find it in; ~/.netbeans/6.9rc2/ (version number might be different), on windows it will in your C:\Users\ or C:\Documents & Settings\ depending on your version. OSX i dont know, guess similar to linux.