I have Apache netbeans 10 on Ubuntu 18.04 64 bit.
I created a simple html5/javascript project but when I run it in the notification area I have the error:
Cannot run /usr/bin/google-chrome
I have already manually installed chrome netbeans extension but nothing. I have the same problem with Firefox and the default web browser. Which could be the problem?
Finally, when I run the binary file netbeans from shell to open Netbeans I have following warning:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.core.windows.view.ui.MainWindow (jar:file:/home/nick/netbeans/platform/modules/org-netbeans-core-windows.jar!/) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of org.netbeans.core.windows.view.ui.MainWindow
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Regards
Recently I was having the same problem, when trying to run a HTML5 NetBeans-Project using Chrome, on NetBeans 12.0, CentOS7. Here is what I did to be able to run the Site on Chrome through, NetBeans Run's Command-Bar Option.
Select Tools>Options.
On WebBrowser List, select Chrome
Press Edit Button
The WebBrowsers Manager window will open.
In the Process opt., search for Chrome-App. E.g. /usr/bin/google-chrome-stable
In the Argument's Textbox, set: --no-sandbox {URL}
Press OK for each Window until all are closed.
On the Run's Button Bar select Chrome.
Press Run; then Chrome should launch your HTML5 Site.
Note: A warning will be prompted on Chrome due to -no-sandbox param.
Related
I had installed firebug and run a WebDriver program on eclipse.
On running the code, page shows the URL but not the Firebug Icon.
Also on opening browser manually Firebug is showing deactivated and I'm unable to inspect element by using Firebug.
using Firefox Version :- 45.0
eclipse version :- 4.5
WebDriver version :2.51
FireBug version :- 2.0.19
There are 2 Problems
After running selenium code firebug icon is not there :
Selenium creates new profile every time while run the script. Thats why it won't show your addons, plugins, bookmarks in that browser
Your add on only will display in profile you are using e.g. manually opening the browser You can add thet profile in your selenium code then you will be able to view all your addons, bookmarks and all
This is tutorial link frome where you can learn.
Disable firebug icon
I was also getting that firebu icon desable issue before few day in FF version 51 . either your ff version and firebug version not compitable . Please have a look in this question
Firebug toolbar button is always shown deactivated since Firefox 51.0.1
Here is the Answer to your Question:
You can't get Firebug Extension added to the Firefox Session started by WebDriver anymore.
The reason behind is:
Question for you: Is your extension signed? The Answer is "No".
So according to MDN, "Firefox 48: (Pushed from Firefox 46). Release and Beta versions of Firefox for Desktop will not allow unsigned extensions to be installed, with no override.
So to install an unsigned extension you'll need to downgrade Firefox to 47.x Legacy release versions.
Let me know if this Answers your Question.
I just installed Netbeans 7.1.2 on a system. It all installed well. However, when I try loading the IDE it starts briefly and only to exit after a while at the usual "Loading Cached Objects". Any form of help to tackle this will be appreciated.
The Output from the console :
The launcher has determined that the parent process has a
console and will reuse it for its own console output:
Closing the console will result in termination of the running program
Use '--console supprress' to suppress console output
Use '--console new' to create a separate window
Java HotSpot<TM> 64-Bit Server VM warning : ignoring option
PermSize=32m; support was removed in 8.0
Java HotSpot<TM> 64-Bit Server VM warning : ignoring option
PermSize=32m; support was removed in 8.0
Then it terminates
I am unable to run my Crossrider extension on Firefox 34.0.5.
I have enabled all about:config needed variables in order to trace errors but can't get any error in the consoles (page console, browser console).
I am also unable to install the extension in debug mode, getting a message of
"Failure installing the debug extension of your Crossrider Extension"
each and everytime, without any errors in the consoles.
May that be a bug in Crossrider's system?
I am however able to run the extension in Chrome and Safari, IE does not run it as well, but that is another story.
I'm clueless, did anyone experienced these problem?
Why might my Jython Interactive Console fail to be created when called in Eclipse?
Following the 'Using Jython in an IDE' instructions in the Jython manual (http://www.jython.org/jythonbook/en/1.0/JythonIDE.html) I have reached just before 'Listing 11-10' in the Testing section, specifically:
First, click the right-most button on the console’s toolbar (you will
recognize it as the one with a plus sign on its upper left-hand
corner, which has the Open Console tip when you pass the mouse over
it). From the menu, select PyDev Console. To the next dialog, answer
Jython Console. After doing this you will get an interactive
interpreter embedded on the IDE
I select 'Open Console' -> 'PyDev Console' -> 'Jython Console' -> 'OK'. The 'Create Interactive Console' dialog appears and then either:
Gets about 1/10th complete and stops (I left it overnight and it hadn't progressed in the morning)
Finishes and fails with the error message:
Error initializing console.
Unexpected error connecting to console.
Failed to recive suitable Hello response from pydevconsole.
Last msg received: HTTP server returned unexpected status: null
My setup:
Operating System: Windows XP
Eclipse: Kepler Service Release 1
Jython: 2.5.2
PyDev: 3.0.0.201311051910
This error occured due to badly configured proxy settings, specifically the proxy exceptions did not include 'localhost' and '127.0.0.1'. This resulted in requests from Eclipse to itself through localhost being diverted through the proxy, which neither the proxy nor Eclipse were happy with.
The solution (in Windows XP) was to open Internet Options -> Connections (tab) -> LAN Settings -> Advanced, and then add localhost;127.0.0.1; to the beginning of the Exceptions list.
I think this was an issue on PyDev. Can you please check the latest nightly build (see http://pydev.org/download.html for details on how to get it) and see if it works for you?
I'm runnung Eclipse (indigo) 3.7.1 with Xdebug 2.1.3 on Ubuntu 10.04 LTS, PHP 5.3.2-1ubuntu4.14.
My problem: While debugging Drupal installation everything works fine, adding breakpoints, stepping in, over, return, vars are showing as they suppose to. But, once the execution flow takes me to the other file which holds the definition of a function being called in the first file, I get an error message saying: "Unexpected termination of script. Debugging ended.".
Show super global vars is switched off in Xdebugger options (solution I found previously), and 'Path Mapper' is left blank in PHP server options (another solution).