I can't install Apache NetBeans plugins with JDK 14 installed - netbeans

I've got JDK 14 installed, and I can't install NetBeans plugins. After looking carefully at what exactly happened, it seems like NetBeans plugins are installed using the Pack200 API, which was removed in JDK 14. I don't think Apache is aware of this old NetBeans way of installing NetBeans plugins, so is there a workaround to this? I'm using Apache NetBeans 12.0, if that helps. Thanks!

This problem has been discussed on the mailing list.
There's also a Jira ticket for it that mentions a few work-arounds. One of them: use an old JDK for installing the plugin (and switch back to JDK 14 after that) or as an alternative copy /jdk-13/bin/pack200 to /jdk-14/bin (or set a symbolic link).

Related

NetBeans plugin fails if nb-javac installed

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.

Auto save plugin for netbeans 8.2

Is there plugin for auto save feature in netbeans 8.2? I find it from IDE's plugins list but can't find it.
For netbeans 8.1 was a plugin in IDE's plugins list. It was not tested/verified for netbeans 8.2.
I download it(http://plugins.netbeans.org/plugin/63714/autosavemodified) manually and install it by IDE's plugin`s download section. It works well for me in Ubuntu 16.04!
Since you have not quite clarified your question, I assume you're referring to this Netbeans plug-in.
If so, this plugin is not marked as compatible with Netbeans 8.2, that's why you can't find it in the plug-ins list in Netbeans itself.
From my experience, it is possible to manually download and install it in Netbeans 8.1 (even if marked as compatible only with Netbeans 8.0 and lower), but it does not seem to work anymore with Netbeans 8.2 at all and it will work with Netbeans 8.2 also.
Edit:
It was not showing as installed at first, and I could not get it to install when I tried, probably because it was already installed when I imported the 8.1 profile in 8.2 (some non-descript error popped up), but after a while I found it to be working. Not sure what exactly happened... a machine reboot, Java update, another thing?
Anyway, I just wanted to confirm that it seems to work with Netbeans 8.2 without any issues.

JAVAHL (JNI) Not available

Windows 7 64 Bits, Eclipse Indigo, SlickSVN 1.6.17 all installed with path to the libraries entered in windows.
Why do I get the message JAVAHL (JNI) Not available and why does eclipse not load these libraries?
Have you tried installing SilkSVN as suggested on the subclipse official FAQ?
Then on Eclipse/MyEclipse go to Window>Preferences>Team>SVN Change the client to SVNKit v1.XXX.
That did the trick for me.
Did you close down Eclipse before running the SlikSVN 64 bit installation?
I had the same issue initially.
Close Eclipse, rerun the SlikSVN install, choose Repair Installation.
Once complete, open Eclipse, and then you should have the "JavaHL Slik SVN" option under Window/Preferences/team/SVN
I had the same issue. It turns out that the FAQ is helpful indeed, because:
As of the Subclipse 1.8.x releases, native 64-bit Windows binaries are
included with Subclipse so it includes everything you need. For
earlier releases of Subclipse follow these instructions:
If you are using a 32-bit JVM, then Subclipse should just work. If you
use a 64-bit JVM then you need to provide a 64-bit version of JavaHL.
One such distribution is SlikSVN which you can get here:
http://www.sliksvn.com/en/download
With that package installed, Subclipse should find JavaHL on PATH and
just work.
The key here is the PATH variable. In my case I had another svn client installed that came before in the path. When I changed to C:\Program Files\SlikSvn\bin\ be the first folder in the variable, all worked.
Now I can find "JavaHl Slik SVN" under SVN Interface. The solution was to uninstall Subclipse and to reinstall it. When reinstalling Subclipse, I removed the check on "javahl client adapter (required)" (or similar).
1) Uninstall existing subclipse plugin:
Uninstall subclipse
2) Download these three files:
subclipse-4.3.0.zip
subclipse-javahl-1.12.0.zip
subclipse.javahl.update-1.12.0-SNAPSHOT.zip
3) Install them manually one by one by following theses instructions:
http://www.microfocus.co.jp/manuals/ED23/html/GUID-70E8158C-8618-4228-9495-6AFF4CB7E8DB.html
Ω) If not suitable in your case:
Install this: Subversive-4.0.2.I20160902-1700.zip (works with eclipse 2019-06)

Ubuntu Eclipse Version

I have a basic question, what is the latest version of Eclipse that is available for Ubuntu 9.04?
The version that is in the official repositories is 3.2.2,
here's a PPA with version 3.4.1, and there's no reason why you can't download the latest version from eclipse.org if you want.
I want to say 3.2.
I just recently downloaded and installed Eclipse 3.4.2 Ganymede on my Ubuntu 9.04 system.
This is kind of an old article, but it still applies. It goes through installing Ubuntu from eclipse.org
http://flurdy.com/docs/eclipse/install.html
It also talks about installing Tomcat, but you don't need it.
There's usually a fairly recent version of Eclipse in the Ubuntu repositories. But if you want the cutting edge, this question on askubuntu has detailed instructions on how to extract eclipse into a directory (the preferred method on, say, Windows) and how to fix up all the links and shortcuts afterwards.
Personally, I prefer extracting eclipse to a user directory on Ubuntu, and this works fine for Eclipse 3.7.2

Getting Subclipse in Aptana to work with the newest release of Subversion

The version of Subclipse (1.2.4) currently available through Aptana's automatic Plugins Manager does not work with the newest version of Subversion.
I see on the Subclipse website however that they have 1.4.2 out for Eclipse. So I added a new remote update site to my Update manager. When I tried to install it, it told me I needed Mylyn 3.0.0. So after much searching I found Mylyn 3.0.0 and added another new remote update site to my update manager. Then when I tried to install that, it told me I needed org.eclipse.ui 3.3.0 or equivalent.
Looking at the configuration details for Aptana, it looks like it is built against eclipse 3.2.2.
Does anyone know if there is a way to upgrade the version of Eclipse Aptana that is built against to 3.3.0? Or if there is some other way to get Subclipse to work with the very newest version of Subversion?
I know this isn't necessarily a "programming" question, but I hope it's ok since it's highly relevant to the programming experience.
Subclipse does not require Mylyn, but the update site includes a plugin that integrates Mylyn and Subclipse. This is intended for people that use Mylyn. In your case, you would want to just de-select Mylyn in the update dialog.
Subclipse also requires Subversion 1.5 and the corresponding version of the JavaHL native libraries. I have written the start of an FAQ to help people understand JavaHL and how to get it. See: http://desktop-eclipse.open.collab.net/wiki/JavaHL
I've had problems with JavaHL in Eclipse Ganymede, when it worked fine in Eclipse Europa. I'm not sure how Aptana is different, but try either upgrading JavaHL or switching to the pure-java SVNKit implementation within the Subclipse config.
if you're not going to be using mylyn just uncheck that dependency. I'm not really familiar with Aptana, but in eclipse you can expand whats being installed and uncheck anything you don't need.
I used the update url and I installed the JavaHL adapter, the Subclipse project itself and the SVNKit adapter BETA.
After this it worked fine for me, this is for linux platform hope it works for you.