Jython and ImageJ : cannot find jython.jar - jython

I want to use an imageJ plugin (that I downloaded) coded in python. I put the .py file in the ImageJ plugin folder, and then I installed it using the Plugin>install on ImageJ. It now appears in the plugin list. However, when I try to use it, I get the following error:
Jython.jar was not found in the plugins folder or is outdated.
There is a jython.jar in the jars folder of ImageJ, but I still tried to install a newer version of jython. I put the new downloaded jython.jar in the jars folder of imageJ, but it still does not work.
I am using a windows 10 computer, with ImageJ 1.48v, and I installed both versions 2.5.4rc1 and 2.7 of jython.
Could someone help me? Thanks!

Related

How to copy module ('com.intellij.modules.java') integrated into Intellij to other JetBrain's product?

After downloading and importing plugin "Fortify Analysis" to IntelliJ ewerything is working, but when I try to do the same plugin into e.g. PyCharm I see error message like that:
In IntelliJ's documentation I see that the module 'com.intellij.modules.java' is built into IntelliJ. On the other hand support from the company which is responsible for the plugin "Fortify Analysis" are telling me that their plugin should work on PyCharm (I'm using version according to their documentation) and the problem I see is not connected with their product.
I've also tried the solution to comment the line:
<depends>com.intellij.modules.java</depends>
in plugin zip file: META-INF/plugin.xml
I tried to find the module and copy manually but I can't find the module file after downloading IntelliJ IDEA Community Edition.2020.3.4.tag.gz.
I've also tried to install every module I can find in repository apt-cache search intellij:
sudo apt-get install libintellij-core-java libgradle-plugins-java libintellij-extensions-java libintellij-platform-api-java libintellij-platform-impl-java libintellij-utils-java libtrove-intellij-java
But it didn't solved my problem.
So the only solution I see is to copy the plugin from IntelliJ to PyCharm, but I don't know how to do this?
Bad news: I think that you misunderstood the documentation of the manufacturer of the plugin compatibility.
The documentation you mentioned lists the "Fortify Analysis Plugin" only compatible with Android Studio 4.x and IntelliJ IDEA 2020.x, but the "Fortify Remediation Plugin" in addition also compatible with PyCharm 2020.x and WebStorm 2020.x
At least your screenshot shows the "Fortify Analysis" plugin, so that's not compatible with PyCharm according to the manufacturer.

Adding .jar Files in Visual Studio Code

First and foremost, I really appreciate your help. I am trying to build an application by using an external library Apachi Poi. I know I need to add jar files to the project; however, I don't know how I should do that plus I have been searching on the Internet for a solution, but I could not find one even I checked this. My OS is Linux and I am running 1.33.1 version of VSCode.
[UPDATE]: I have fixed my problem. What I basically did was to install maven command to my
Linux machine and now I am using mvn command along with pom.xml to add my .jar files to
the project.

Where to find groovy library on intellij(mac) when installed groovy through sdkman

I installed groovy through sdkman on mac. When i try to create a new groovy project in intellij, it asks for groovy library location. Where can i find the installed groovy?
I ran into similar issue. By using
/Users/<username/.sdkman/candidates/groovy/current
or
/Users/<username/.sdkman/candidates/groovy/<version>
worked for me.
Adding the answer that solved my problem (thanks to ThomasW comment)
When dialog box is opened you can click CMDSHIFT.
and this allows you to pick the hidden folder in the open dialog box.
Then you can use:
/Users/<username>/.sdkman/candidates/groovy/current
Just run $ which groovy after have it installed.
You may not be able to find groovy path with which command.
After installation of sdkman on linux-like systems Mac OSX, Linux, Cygwin, Solaris and FreeBSD, First, run $ source "$HOME/.sdkman/bin/sdkman-init.sh", then you will be able to access the installed development kits.
Namely, if you type 'which groovy' it should show the path, and you can invoke other SDK commands.

How to generate 64-bit version of sikuli JAR?

I am working on developing test automation code in selenium, I want to use 'sikuli' inside my code to handle windows and Flash objects in my web application,
I'm using 64-bit JVM, but there is no 64-bit version of Sikuli available, this is resulting in an error while running the code,
"Can't load IA 32-bit .dll on a AMD 64-bit platform"
I could not find a 64-bit sikuli Jar on internet, but I found that Sikuli source code is hosted on GitHub, could someone help me understand if I can use that source code and compile it into a jar of 64 bit version?
I'm not sure if this is possible or not.
If you install Sikuli 1.0.1 you have the option to install 6 packages with it as well. I would recommend installing the first 5. Then you will have all the things you are ever going to use.
If you also work on different sytems other then Windows, the 6th packages is also advisable.
I have installed all 6.
Finally got this working, here is what I did,
Download the sikuli set-up Jar from
"https://launchpad.net/sikuli/sikulix/1.0.1/+download/sikuli-setup.jar"
Save this jar in a folder 'SikuliSetup',now create a sub directory
'Downloads' which will come into picture later.
Run the above Jar, this will generate two files under the above
directory.
Now run the 'runSetup.bat' file generated from above setup. This
will start the setup, now select the 4th and 6th option in the
'sikulisetup' pop-up and click on 'setup Now'.
The above step will fail for most people due to default security
issues.
If the above step fails then you need to download an offline
version of this jar from this URL
"https://launchpadlibrarian.net/156273987/Sukuli-1.0.1-Offline-Setup-Java-option3-option4.zip".
UnZip the above file and copy the '1.0.1-3.jar' file to 'Downloads'
directory created under the 'SikuliSetup' directory previously.
Now run the 'runSetup.bat' file again, this will generate a new
jar file 'sikuli-java' and its dependent libraries under 'lib'
folder.
That's it, now copy this jar 'sikuli-java.jar' to your java build
path in eclipse.
Now Java will use this sikuli libraries without any issues.
Once after you setup the jar file under build path, restart the
system and login again.

How do I install a plugin from a local .zip or .jar file in Aptana Studio 3?

I have a locally packaged plugin that isn't available from any update server (I built and exported it from source code, using Eclipse.) The plugin installs and works in the Eclipse environment.
Now I'd like to use it in my standalone Aptana Studio 3 installation. Is there a documented method of installing a .ZIP or .JAR file containing a working Eclipse plugin into Aptana Studio 3?
If this is well-documented elsewhere, a URL is all I need! :D
Edit: I realize there may be many reasons why the plugin doesn't work in Aptana; the issue here is that I can't find a simple way to install the plugin from within Aptana. I've tried "Add Repository -> Local" and "Add Repository -> Archive" but neither method recognizes the packaged plugin. I've also tried dropping the jar file into the Aptana 3 'plugins' dir and restarting -- no love. But there are no error messages or log entries to help understand why I can't install the plugin.
Might be a dependency issue. In some cases, a plugin may depend on another plugin that is missing from the product (e.g. Aptana Studio, in this case).
What I suggest is to install Aptana Studio as a plugin into a classic Eclipse 3.7 installation. Then, install your plugin just like you tried before.
Hope that helps.