3

I want to know how to run/use the following Eclipse plugin which I've downloaded:

There is a project from a guy called 'tarlog' that made a plugin for eclipse at this google code site: http://code.google.com/p/tarlog-plugins/downloads/detail?name=tarlog.eclipse.plugins_1.4.2.jar&can=2&q=

It has some other features for eclipse, amongst which is Ctrl++ and Ctrl+- to change the font size.

I've tried Run>External Tools>External Tools Configurations. I put C:\Users\User\workspace\tarlog.eclipse.plugins_1.4.2.jar as the Location and C:\Users\User\workspace (the folder containing the file) as the Working Directory. Thi results in the following error:

Exception occurred executing command line. Cannot run program "C:\Users\User\workspace\tarlog.eclipse.plugins_1.4.2.jar" (in directory "C:\Users\User\workspace"): CreateProcess error=193, %1 is not a valid Win32 application

This is puzzling since I'm running 64 bit windows. Just wondering how to run/use the plugin.

2 Answers 2

5

This looks like a regular eclipse plugin.

It should be enough for you to:

1) Copy the .jar in the dropins\plugins folder in the folder where you've installed eclipse; create the folders if they don't exist already.

NOTE: this is the eclipse install path ([Eclipse path]\dropins\plugins), and NOT the workspace you're working in.

2) Restart Eclipse.

That's it, your plugin is good to go.

14
  • the Eclipse folder doesn't seem to have \dropins Oct 1, 2013 at 15:02
  • 1
    Eclipse places plugins you install from within the Eclipse UI in its \plugins folder. You should place plugin .jars you manually copy in \dropins\plugins. It's just a convention, which makes updating them easier.
    – blgt
    Oct 1, 2013 at 15:05
  • 1
    You're not supposed to try running the .jar, just open Eclipse.exe; it will automatically load the plugin.
    – blgt
    Oct 1, 2013 at 15:13
  • 1
    Well that's possibly because the path you posted is plugins\plugins, not dropins\plugins. Put it there then try again.
    – blgt
    Oct 1, 2013 at 15:17
  • 1
    Are you sure you followed the steps exactly? I'm also running KeplerSR1 on a 64-bit Windows 7 machine, and (just tried pulling the plugin in) it works perfectly fine on my machine. Make sure that you've restarted Eclipse, and that that's the exact name of the path you use, as Eclipse only ever looks for plugins in \dropins\plugins and \plugins.
    – blgt
    Oct 1, 2013 at 15:22
1

The Tarlog Plugin needs the Java Development Tools (JDT) intalled. This is important in case you prefer to work with a version of Eclipse that is designed for non-Java development, e.g. PHP development.

In my case tarlog wasn't recognized at Eclipse startup.

So I've installed JDT via Eclipse Marketplace.

If you don't have JDT, the plugin can't be recognized, see logfile:

  !MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to bundle org.eclipse.jdt.ui 3.4.0.

 /home/knb/.p2/pool/plugins/org.eclipse.platform_4.6.1.v20160907-1200/splash.bmp
Debug options:
    file:/opt/eclipse/php-neon/eclipse/.options loaded
Time to load bundles: 51
..
[p2] Mon Nov 14 10:05:24 CET 2016 - [Start Level: Equinox Container: 50199877-49aa-0016-1ecb-d3e3ab767be8] [reconciler] No extra requirements.
!SESSION 2016-11-14 10:05:19.506 -----------------------------------------------
eclipse.buildId=4.6.1.M20160907-1200
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product -Dhelp.lucene.tokenizer=standard -Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms256m -Xmx3072m eclipse
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.php.product -Dhelp.lucene.tokenizer=standard -Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms256m -Xmx3072m eclipse -clean -console -consoleLog -debug /opt/eclipse/php-neon/eclipse/.options

[p2] Mon Nov 14 10:05:24 CET 2016 - [Start Level: Equinox Container: 50199877-49aa-0016-1ecb-d3e3ab767be8] [reconciler] [plan] 
Some units will not be installed, because they are already installed or there are dependency issues:
tarlog.eclipse.plugins 1.4.2
!MESSAGE Problems resolving provisioning plan.
!MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to 
bundle org.eclipse.jdt.core 0.0.0.
!MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to 
bundle org.eclipse.jdt.ui 3.4.0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.