Eclipse: getting an error installing drjava - eclipse-plugin

I am currently trying to install DrJava plug-in in Eclipse Oxygen and I always get an error saying "could not find jar file" even though I opened it using the Install New Software in the Help menu...
I think I have tried everything I could but it does't seem to work...
or is there any better plugin in eclipse that has an interaction pane?

The DrJava Plug-in for Eclipse is an Eclipse 2.x plug-in which are not supported anymore. Therefore, it is not possible to install the plug-in in a current version of Eclipse.
A very similar functionality is built in the Eclipse Java IDE as Java Scrapbook Page (File > New > Other...: Java > Java Run/Debug > Scrapbook Page) and for debugging as Display view (similar to select an expression in the Java editor and hit Ctrl+U or right-click and choose Execute).
In Java 9, there is also a so-called JShell.

Related

Can I use the Telosys wizard without installing Eclipse?

I am trying to learn telosys. The eclipse demo seems great.
However, I tried to install the plugin for VSCode, and it did not add any option/menu item anywhere in the VSCode editor.
The eclipse demo shows a great wizard based interface. Is there any way to get that interface without having to install eclipse.
Also, in case it is not possible, which package of eclipse do I need to install to optimally use telosys? I wanted to try out the python & angular bundles of telosys.
Yes indeed, the Telosys VS Code plugin provides only syntax coloration for Telosys files edition (".entity" files for example). Thus there's no particular changes in the VSCode menu.
VSCode is just one code editor (among others) that you can use with Telosys-CLI. The editors extensions are just provided to be more confortable when you're editing Telosys files. All the code generation is supposed to be launch from the command line in Telosys-CLI.
If you want a fully integrated tool, Eclipse + Telosys plugin is the best solution. Telosys Eclipse plugin is installable with all Eclipse versions, so you can choose one of these Eclipse packages :
https://www.eclipse.org/downloads/packages/
for example "Eclipse IDE for Java Developers" and use "Eclipse Marketplace" to install :
Telosys plugin
https://marketplace.eclipse.org/content/telosys-code-generator-java-javascript-python-nodejs-php-c-javaee-spring-jax-rs-vuejs
Python plugin
https://marketplace.eclipse.org/content/pydev-python-ide-eclipse

Does it exist a Weblogic plug-in for Java Mission Control 7.1.2?

The previous version of JDK Mission Control 5.5.2 bundled with Oracle JDK 7 had the possibility to add a WebLogic plug-in, which allows viewing the SQL queries, servlets between other components as seen in this image.
Then the new JDK Mission Control 7.1.2+b04 doesn't seem to have a similar plug-in or at least it's more complicated to apply it.
When trying to investigate, the JMC is pointing to
https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/update-site-instructions/index.html
stating that the plugin must be installed via Eclipse 4.8 or later, so the latest Eclipse is 2012-12 was installed, and then the plugin with https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/ as well, as seen in this image:
The Eclipse IDE was restarted and now it got a new icon in the menu bar:
which connects (or at least it tries to connect) with the Java processes running in this local station:
but that's not the WebLogic plug-in I expected, similar to the one available in the previous version of JMC.
Does it exist a WebLogic plug-in in JMC7.1.2 similar to the existing in JMC5.5.2?
To install WebLogic plug-in for JMC, go to Help menu and select Install New Software menu item. Expand "Mission Control (Oracle)" and then "Flight Recorder" and you will find "WebLogic Pages" plug-in. Follow the instructions on screen to complete installation of plug-in.
This is described in the Oracle JMC 7 User Guide under Install JMC Standalone Application in the "Install Plug-ins for JMC Standalone Application" sub-section.

How to debug an IntelliJ plugin in a different platform (eg. Pycharm)

I have a license for PyCharm Professional and am using IntelliJ IDEA Community Edition to develop a plugin for it. I need to run the plugin in PyCharm to test it out. I can't use the Python plugin for IntelliJ IDEA to test it as only the Community edition of the plugin appears to be available for me. If I manually download the professional version and try to install it I get Plugin 'Python' is incompatible with this installation. I assume I would need IntelliJ IDEA Ultimate to be able to use the professional version of the Python plugin.
I saw this question, which suggests it is possible to use PyCharm as the target for a "Plugin" run configuration, but I haven't had any luck following those steps. I set the JRE to /opt/pycharm-professional/jre64 but got Exception in thread "main" java.lang.ClassNotFoundException: com.intellij.idea.Main. I then grabbed the java command line args from a running instance of PyCharm and added those in (particularly the classpath) but got Error: Could not find or load main class com.intellij.rt.execution.application.AppMainV2. I haven't been able to find anything in the docs on how to set this up.

Installation issues on TestNG?

I have tried to install TestNG in eclipse Help--> Install new software http://beust.com/eclipse
I am getting following error:
Unable to connect repository http://beust.com/eclipse/content.xml
So I have downloaded testng-6.8.6beta.zip and imported those jars in Build Path and added Junit 4 library.
Still when I click Run As in the class (Test case) it does not show me Run As TestNG, shows only java application.
Am I missing anything?
You can try the following:
Open Eclipse -> Help -> Eclipse Marketplace.
and trying installing testNG plugin after searching it.
Try:
Open eclipse
Help > Install new software
Enter the update site URL in "Work with:" http://beust.com/eclipse/6.9.12
Click on ok
Edit:
Just click on http://beust.com/eclipse - it'll show you all the versions available.
Then Add the URL to work with as http://beust.com/eclipse/version_number (like the example given above)

Sonar Plugin not showing up in Eclipse

I installed the Sonar plugin(3.2) to eclipse (juno).
link.
However i cannot find it in eclipse . Window > Preferences > does not show up the sonar option. I have restarted eclipse using clear flag (both in command line and modifying the .ini file) but it does not help.
Is there anything else i can do to get the sonar option available?
There was some issue with the 3.2 version of sonar and Juno. An older version of Sonar (2.X) can easily be integrated with juno.