Netbeans 8.1 on Debian 9 no plugins available - netbeans

I've just installed Debian 9 and NetBeans 8.1. I use to work with this setup so I'm familiarized with it. But now, my NetBeans is not detecting any 'available plugins' (it just come with the basics, but I need PHP support, in addition to typescript and more stuff).
I have a working Internet connection
In 'settings' -> 'proxy settings', 'use system proxy settings' is checked, furthermore when I click on 'Test connection' it shows the green check.
At '~/.netbeans/8.1/var/log/.log' it looks like there is no error showing.
I have ran NetBeans with root privileges and same happens.
Something strange is that, when I click 'Check for newest', it "checks" so quick (double quote because I doubt it does anything).
Any ideas?

Netbeans 7 hides most plugins by default.
From Tools (Menu) -> Plugins (Menu) -> Settings (Tab)
Certified Plugins - http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/certified/catalog.xml.gz
Plugin Portal - http://plugins.netbeans.org/nbpluginportal/updates/7.0/catalog.xml.gz
and NetBeans Distribution
and make sure each of them is checked. If these are not present or not checked, you will not see anything in the list of Available Plugins (tab). Make sure you Reload Catalog on the Available Plugins tab after adding these.

Related

Changing theme in Apache Netbeans 9.0

I have installed Apache Netbeans 9.0 recently in Mac running macOS Mojave. I am trying to change the Netbeans theme to "Dark Look And Feel Themes" but I can't find the options.
Previously, I have used the older versions (8.2, 8.1, 8.0.2) of Netbeans. To change the theme, I navigate to
Tools -> Plugins -> Available Plugins
Install the "Dark Look And Feel Themes" plugin and restart the IDE to reflect the change.
But, I don't find this plugin in the Apache Netbeans 9.0
I also checked whether these plugins are available to download from online. So that I can add them using 'Downloaded' option. But, they are only available for older versions.
http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans
http://plugins.netbeans.org/plugin/52624/netbeans-dark-theme
So, I am a bit stuck here. Any help will be much appreciated. There are few similar stack overflow questions raised earlier, but they all talk about the old version of Netbeans.
Updated 4/11/19:
Based on a comment from #superbiji below, Darcula + Norway Today works fine with NetBeans 11.0.
Updated 2/7/19:
Note that the answer below applies only to NetBeans 9.0. The situation is a little different on NetBeans 10.0 where the Dark Look and Feel plugin (themes "Dark Metal" and "Dark Nimbus") also worked fine. See Projects, Files, Services, Navigator color background.
I tried to download then manually install those two plugins on NetBeans 9.0, but it didn't work for me:
Download the plugins as zip files, and unzip them.
Tools > Plugins > click the Downloaded tab > click Add Plugins...
The Add Plugins dialog opens, but it requires you to select a jar or nbm file, and no files of those types exist in the downloaded zip files.
However, there is an alternative approach that works for Darcula (but not for Dark Look And Feel Themes). It is a simple two step process:
Make the Darcula plugin available.
Automatically install the plugin, just as you would on NetBeans 8.2.
To make the plugin available:
Tools > Plugins > Settings tab > Click the Add button.
In the Update Center Customizer dialog that opens:
Enter some descriptive value in the Name field such as NetBeans 8.2 plugins
Enter http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz in the URL field.
Click OK to make the plugins associated with that URL available for installation.
Now click the Available Plugins tab. You should see a lot of new entries, including one for Darcula LAF for NetBeans:
Check that entry and click Install, just as you would on NetBeans 8.2.
NetBeans 9.0 should restart using the Darcula theme:
Notes:
I don't think this approach is formally supported by NetBeans or the plugin author, but it works fine.
To customize Darcula settings: Tools > Options > Appearance > click the Darcula Look and Feel tab.
To switch from Darcula to one of the built in NetBeans look and feel options: Tools > Options > Appearance > click the Look and Feel tab > select an entry from the Preferred look and feel drop list.
I can recommend you to check NetBeans Themes website. It allows you to design and download your own themes.
Twilight theme is a good example:

How to hide/disable CDT launchbar?

I've updated my Eclipse IDE recently and a new launchbar appeared after the CDT update.
I really don't like it, which is why I'm trying to get rid of it. I haven't yet found a way to hide or disable it...
Do you know how I could do this ?
Here's a snapshot of the launchbar : https://wiki.eclipse.org/images/1/15/CDTLaunchBar.png
The LaunchBar (org.eclipse.launchbar.feature.group) comes as a dependency of "C/C++ Qt Support" (org.eclipse.cdt.qt.feature.group), so you need to either un-install the Qt Support CDT component, or disable the LaunchBar in Eclipse preferences:
The launchbar used to come as a plugin for the CDT, which is probably how you got it, but it was later (in the Mars release) was moved to be a standalone feature - which is probably what #Doug Schaefer refers to.
If you have the new version of the Launch Bar that is installed as a feature, you can go to Help -> About Eclipse and click the "Installation Details" button. In the "Installation Details" under "Installed Software" you should see the "Launch Bar" and be able to uninstall it. Note that if you had the Launch Bar installed previously as a plugin, it will still remain on your system after you have removed the Launch Bar feature.
Regardless if you have the feature version or the plugin version (or both), you can also just hide it using the Eclipse preferences: Run/Debug -> Launching -> Launch Bar, and there would be 2 or 3 check boxes - just uncheck all of them (or just the first actually) and you should be good to go.
I'm not sure how you got it. The LaunchBar isn't part of the CDT. Only the new Arduino CDT uses it.
To remove it, find the org.eclipse.launchbar feature and uninstall it.

Installation of EPIC within eclipse juno

I'm installing EPIC within eclipse but always get an error:
Unable to read repository at http://e-p-i-c.sf.net/updates/testing/content.xml
I tried the second answer in this post which is:
1) add the line in eclipse.ini: -Djava.net.preferIPv4Stack = true
2) delete eclipse/p2/org.eclipse.equinox.p2.repository/cache directory
But still get the error. However I can install CDT correctly.
I'm using Mac OX Lion and Eclipse Classic 4.2.1 the mac os 64bit version. I also tried to switch to 32bit version but didn't work. Any help is appreciated.
There are 2 ways to install EPIC in Eclipse:
Way One:
Open Eclipse
Go to Help -> Install New Software and click Add button
Enter Name as EPIC and Location as follows:
http://e-p-i-c.sf.net/updates (for the stable 0.5.x, older version of EPIC)
http://e-p-i-c.sf.net/updates/testing (for the most recent 0.6.x version)
Follow the instruction of eclipse pop up
After successful installation go to Window -> Preferences and observe the list as "Perl EPIC" at
left side panel
Way Two:
Open Eclipse
Go to Help -> Eclipse Marketplace
Type EPIC at Find text box and click Go button
Click Install button at "EPIC - Eclipse Perl Integration" area
Follow the instruction of eclipse pop up
After successful installation go to Window -> Preferences and observe the list as "Perl EPIC" at
left side panel
This is another posible answer, besides the ones already provided.
I just hit this, and it was a firewall rule the issue.
In fact the file content.xml doesn't exist on the plugin update (it has instead a site.xml) but that is what the error says when it cannot reach outside world
Solution would be to just open ports 80 and 443 to Eclipse
PS: this happened to me while installing a new version of Eclipse which was not whitelisted in the firewall rules
Remove the site from your "Available Software Sites".
1) Go to "Help" > "Install New Software" > "Available Software Sites"
Find the URL you mentioned in the list and delete it.
Note: Then install EPIC from marketplace if required.

Eclipse Plugins not appearing in Preferences, Views, or Perspective

I'm using Eclipse 3.7 Indigo, Java Developer IDE. I've installed Maven, RESTClient, e4HTTP. But, I do not see them in the Preferences, Views, Perspective. I've looked everywhere to figure out why and am completely lost. Is there something I'm missing? Is there a trick? Thanks... Thoroughly frustrated.
When you say you installed these products I assume you meant that you installed the plugins for those products in Eclipse and not just on your machine.
Try these troubleshooting steps:
Open the plugin registry view (Window -> Show View...) and make sure the plugins you installed are listed.
Invoke Eclipse with the -clean park. This will force Eclipse to refresh several chaches and this often fixes similar problems.
Open the Error Log view (Window -> Show View...) and click on the red X to clear the messages. Stop and start Eclipse to see if any informative or otherwise helpful messages appear in the log.

Plugin manager not working in netbeans 7.0.1

On upgrading from netbeans 6.9 to 7.0.1, my plugins are not visible in the plugins manager. But more importantly, I am not even able to install new plugins, or watch the avaialble plugins. No plugins are displayed in the list as suggestions. However all my proxy settings are configured correctly & also netbeans is able to connect to internet & download maven stuff.
I tried to manually import the settings of 6.9 into 7.0.1 but no effect. How can I again make it work ?
Netbeans 7 hides most plugins by default.
From Tools (Menu) -> Plugins (Menu) -> Installed (Tab), check the box that says Show details and you should see all of the plugins you have installed.
Under the Settings tab in the same dialog, make sure you have the following Update Centers installed:
Certified Plugins - http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/certified/catalog.xml.gz
NetBeans Distribution - http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/distribution/catalog.xml.gz
Plugin Portal - http://plugins.netbeans.org/nbpluginportal/updates/7.0/catalog.xml.gz
..and make sure each of them is checked. If these are not present or not checked, you will not see anything in the list of Available Plugins (tab). Make sure you Reload Catalog on the Available Plugins tab after adding these.
I am using Netbeans IDE 7.0.1 on Ubuntu 12.10
My answer is essentially the same as cbednarski, but I noticed there was a slight difference: there was not a Show Details box to check under the Installed (Tab).
From Tools (Menu) -> Plugins (Menu) -> Settings (Tab)
Make sure you have the following Update Centers installed:
Certified Plugins - http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/certified/catalog.xml.gz
NetBeans Distribution - http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/distribution/catalog.xml.gz
Plugin Portal - http://plugins.netbeans.org/nbpluginportal/updates/7.0/catalog.xml.gz
..and make sure each of them is checked. If these are not present or not checked, you will not see anything in the list of Available Plugins (tab). Make sure you Reload Catalog on the Available Plugins tab after adding these.