dart-eclipse plugin crashing after installing dart plugin - eclipse

I am using a new installation of Eclipse Luna SR2. I install the dart-eclipes update from the site https://storage.googleapis.com/dart-archive/channels/dev/release/latest/editor-eclipse-update/. The version 1.10.0-dev.1.9 (rev 45311) installed. However, after restarting eclipse after the installation prompt to restart, the Luna logo is visible for a short while and then crashes (is no longer visible). There is no console output or anything.
Old eclipse metadata have been removed from the installation folder.
Thanks for any help

The dart plugin checks for a 'dart-sdk' directory in your eclipse installation directory.
If you have dart and eclipse unzipped in your home ~/bin, then this should do the trick:
$ cd ~/bin/eclipse
$ ln -s ../dart/dart-sdk/
Now you should be able to start ./eclipse.
Update:
I have submitted this issue to the dart bug tracker:
https://code.google.com/p/dart/issues/detail?id=23335

Warning: the suggested symbolic link workaround will erase the target dart-sdk directory when doing an upgrade from inside Eclipse. If you don't want this to happen just copy the whole directory instead of linking.

Go to the dart directory you dowloaded.
Copy the dart-sdk directory.
Paste it directly in your eclipse directory. (the directory
containing eclipse.exe)
Bonus :
To get the error messages when Eclipse crashes you can find the log in the directory you specify when you try to launch Eclipse.
--> "MyJavaProjects"\.metadata\.log.txt

Related

How to view Plugin Manager in Notepad++

I downloaded Notepad++ from https://notepad-plus-plus.org/repository/7.x/7.5.1/npp.7.5.1.Installer.x64.exe.
And I installed the same. Now I need to install few plugins, but in the menu option Plugins there are only Converter and MIME tools listed, but not Plugin Manager.
Edit: They have removed Plugin Manager with the version 7.5. Still it can be added by following #johnny 's instruction in the best solution.
P.S: The plugin manager is only supporting the 32-bit version.
As of Notepad++ version 7.5, plugin manager is no longer shipped with Notepad++
From the Notepad++ release notes:
You may notice that Plugin Manager plugin has been removed from the official distribution. The reason is Plugin Manager contains the advertising in its dialog. I hate Ads in applications, and I ensure you that there was no, and there will never be Ads in Notepad++.
A built-in Plugin Manager is in progress, and I will do my best to ship it with Notepad++ ASAP.
If the above doesn't put you off, and you want to proceed and install the plugin manager anyway, it looks like there's a GitHub repository for nppPluginManager - though I haven't personally used it, so cannot comment on it's validity.
The nppPluginManager installation instructions state:
To install the plugin manager, simply download (links below) the .zip, and place the PluginManager.dll file in the Notepad++ plugins directory, and the gpup.exe in the updater directory under your Notepad++ program directory. (e.g. "C:\Program Files\Notepad++\updater")
In fact, if you prefer, you can just add the PluginManager.dll to the plugins directory, then do a reinstall of Plugin Manager from the plugin itself, which will place the file in the right place! Of course, if you're already using an earlier version of the plugin manager, you'll be able to just update from the update tab (or when you get the notification that the update has happened).
The GitHub repository also contains the latest release.
Follow the steps given below:
Download Plugin Manager from here.
You can find the most updated version in the release section in the Git repository:
Extract the contents of zip file under "C:\Program Files\Notepad++"
Restart Notepad++
That's it !!
To install a plugin without Plugin Manager:
Download your plugin and extract contents in a folder. You will find a .dll file inside. Copy it.
Open C:\Program Files (x86)\Notepad++\pluginsand paste the .dll
Run Notepad++
You can download the latest Plugin Manager version PluginManager_latest_version_x64.zip.
Unzip the file.
Copy
PluginManager_latest_version_x64.zip\updater\gpup.exe
into
path-to-installed-notepad\notepad++\updater\
Copy
PluginManager_latest_version_x64.zip\plugins\PluginManager.dll
into
path-to-installed-notepad\notepad++\plugins\
Start or restart Notepad++.
Enjoy!
The way to install plugins seems to have changed, the previous answers here did not work for me.
The current (checked with 7.8.1) way to install plugins is to install it in a sub folder:
The plugin (in the DLL form) should be placed in the plugins subfolder of the Notepad++ Install Folder, under the subfolder with the same name of plugin binary name without file extension. For example, if the plugin you want to install named myAwesomePlugin.dll, you should install it with the following path: %PROGRAMFILES(x86)%\Notepad++\plugins\myAwesomePlugin\myAwesomePlugin.dll
from https://npp-user-manual.org/docs/plugins/
So PluginManager.dll goes into PluginManager sub folder.
Notepad v7.6 includes a Plugin Admin and from this you can install Plugin Manager(note1) but it doesn't work fine with npp v7.6(note2)
On the other hand Plugin Admin is only available on NPP "Setup version" and after following conditions
on Custom installation, "Plugin Admin" checkbox is enabled
on Choose Components "Don't use %APPDATA%" checkbox is disabled
Plugin Admin will place plugins at C:\ProgramData\Notepad++\plugins
(note1)Installation from Plugin Admin is not complete and \updater\gpup.exe is missing
(note2) Plugin manager is not using new plugins path and folder structure; from version 7.6 npp Plugins will be stored in individual folders (having same name than file.dll)
If you want to use npp7.6 portable, you can copy updater folder from Setup version, copy plugins from Setup version, or copy Plugins from npp v<7.6 and place each one in a individual folder.
Latest version of Notepad++ got a new built-in plugin manager which works nicely.
My system was 32 bit. I removed and re-installed Notepad++. After that from below got PluginManager_v1.4.12_UNI.zip and extracted it.
https://github.com/bruderstein/nppPluginManager/releases
I created a folder called PluginManager at C:\Program Files (x86)\Notepad++\plugins\ and copied PluginManager.dll into it. I restarted my notepad++ and now I see Plugin Manager.
A direct process to install / configure Plugin Manager :
Download the latest version of NotepadPlus Plugin Manager from the
official Github handle.
Extract the zip file.
Copy the pluginmanager.dll file and paste in C:\Program Files\Notepad++\Plugins\PluginManager directory.
Restart the Notepad++
Note: Create the
PluginManager directory if it is not present.
Notepad++ v8.1.2 has it where it used to be
I changed the plugin folder name. Restart Notepad ++
It works now, a
It can be installed with one command for N++ installer version:
choco install notepadplusplus-nppPluginManager

Eclipse mars Installation folder in Mac

I need the Eclipse Installation folder, it was requested from another program, but there is no such a folder. When I installed eclipse I did not get any folder out of the compressed file, I only get the program itself.
However, I copied the contents and it says " it's not the installation folder since it does not have "plugins" subfolder.
The error message
The new path for the plugins is
/Applications/Eclipse.app/Contents/Eclipse/plugins
The eclipse will be installed where you decided to put it not always under /Applications necessarily. The easiest way I think to find the installation folder is to run eclipse, go to Eclipse > About Eclipse. Click "Installation Details" at the bottom. The configuration tab in installation details should have the location of eclipse for launcher and startup config. Hope this helps!
In mac os you need to select the eclipse ini file not ecllipse.app

Enable Chromium / Dartium within Dart plugin

I installed the dart plugin and put the dartium (freshly downloaded) in the eclipse project. The folder is called chromium.
When I now start the project nothing happens. Dart plugin has a property in the preferences where I can specifiy the location of a custom browser to start. Does anyone know what I should select here or what I missed.
'dartium' must be in a directory called 'chromium' at the root of your eclipse installation.
For example, if your eclipse is at ~/dev/java/eclipse and you have unzipped dartium to ~/downloads/google/dartium-lucid64-full-stable-1.12.1.0 then if you symbolicaly link
ln -s ~/downloads/google/dartium-lucid64-full-stable-1.12.1.0 ~/dev/java/eclipse/chromium
then the eclipse dart plugin will find dartium.
On OS X, I place my Chromium.app package in a "chromium" directory that is a child of the actual eclipse install directory.
(e.g. /Applications/eclipse-4.3.2/chromium/Chromium.app)

Running Eclipse on desktop = can't find companion library

I just downloaded Eclipse Juno onto my machine. I extracted the files to an Eclipse subdirectory in "C:\Program Files". When I try to launch eclipse from here, it works great! But I don't want to have to navigate to this directory every time I want to launch eclipse. I tried just moving the executable to my Desktop, but then when I try to run it I get this message:
The eclipse executable launcher was unable to locate its companion library.
How do I let eclipse know where it's companion library is if I don't plan to have them in the same folder? Please be very specific.
Thanks!
You dont move the executable to your desktop because the executable needs to be in the same directory with other files where it was. get it back and then make a shortcut or link to it. you are free to make the shortcut or link where you want.
Well i had the same problem sometime back, and i figured out that since i've changed the location of my elcipse.exe , it has some how effected the "eclipse.ini " file
1.Path to -startup
D:\ < elcipse folder> elcipse:\ plugins\org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar \this is the start up jar file.
2.Path to shared lucher library
D:\ < elcipse folder> elcipse:\ org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 \this is the shared launcher library jar file.
just set the follwing two paths and ti will start up again like befor..
Happy coding..
This is a bug filed with Eclipse for Windows and Mac:
When attempting to launch Eclipse (double click on Eclipse.app), the launch fails. The only action is a dialog box with this message:' the eclipse executable launcher was unable to locate its companion shared library'. I found an online description of the problem and the workaround here:
Specifically, as per the instructions above:
I opened the Eclipse.app package, located eclipse.ini, edited it
searched the plugins folder for something matching org.eclipse.equinox.launcher.carbon.
copied the maching folder name (from plugins)
pasted it as the terminating portion of the path for --launcher.library
replaced the --launcher.library line with that path
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288112
Eclipse Neon, 2017:
I copied my old .p2 folder found in my home.
Ran eclipse again and it worked.
It used to be that you could just copy eclipse as a zip and it would work fine, but it seems some plugins now rely on the .p2 folder.

Error (in GTK?) when trying to install EclipseXul plugin

When installing EclipseXul plugin on EclipsePHP, it says:
Cannot complete the install because
one or more required items could not
be found. Software currently
installed: Shared profile
1.0.0.1288098146566 (SharedProfile_epp.package.php
1.0.0.1288098146566) Missing requirement: Shared profile
1.0.0.1288098146566 (SharedProfile_epp.package.php
1.0.0.1288098146566) requires 'SharedProfile_epp.package.php
[1.0.0.1288098145696]' but it could
not be found
Any idea what's wrong?
--update
When running from the terminal, I can see a message, when I open the updates windows:
** (Eclipse:3364): CRITICAL **: murrine_style_draw_box: assertion
`height >= -1' failed
Recently I have my whole home folder deleted by a script. Maybe there's something with this.. But I just downloaded a brand new Eclipse installation and put it in my /home/eclipse/ folder.
It seems your current user doesn't have write permission on your eclipse installation, so eclipse creates share configuration to manage the installation and other configurations. But eclipse has several bugs related to share installation on 3.6.
Try to install your eclipse in a folder that has write permission, then install other plug-ins.
I got this same error in Win7 when I copied from the Eclipse .zip straight to Program Files. Eclipse would run, but apparently didn't have write permissions. Moving it somewhere else fixed it.
For Windows Users:
Uncheck the Eclipse folder read only permission.
Choose to run Eclipse as Administrator in Compatibility tab.