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

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.

Related

Why doesn't my Intellij Ultimate detect virtualenv?

I've opened a Python project from IntelliJ Utlimate 2019.2.5 after using Pycharm.
I've the IDEA to a newly created virtualenv project SDK under <root>/.virtualenv directory, however, I cannot run pip install on the requirements using the terminal because virtualenv is not working, and I'm using my global python installation.
Opening the same project back in Pycharm brings it back to life again.
Is there a specific configuration I've missed (though I doubt that because there are only these instructions).
It's not possible at the moment in IntelliJ IDEA.
Vote for https://youtrack.jetbrains.com/issue/PY-22067

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.

Jython and ImageJ : cannot find jython.jar

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!

Can't install practically macro on eclipse

I can't install practically macro on eclipse.`
Error:
Communication with repository at
http://puremvcnotificationviewer.googlecode.com/svn/trunk/PracticallyMacroGoogleUpdateSite
failed.
Read Timeout
Tried to install from here https://marketplace.eclipse.org/content/practically-macro-0 dragging and dropping
And tried to install it from eclipse marketplace, both said the same thing.
I have eclipse luna 4.4.1.
I want to be able to do key shortcut for run cofiguration. Apperently i need this plug-in but can't install it.
Go to https://sourceforge.net/projects/practicalmacro/?source=typ_redirect and download PracticallyMacro_x.x.x.jar.
Then create a directory "PracticallyMarco" inside the eclipse/plugins directory.
Extract all files from PracticallyMacro_x.x.x.jar into eclipse/plugins/PracticallyMarco.
Restart eclipse. (Maybe you should restart eclipse with the -clean option.)
Then you can use the PracticallyMacro from the main toolbar:
See also the file eclipse/plugins/PracticallyMarco/Instructions.txt for more details.
There is a GitHub fork that seems to work:
https://github.com/EmteZogaf/practicalmacro-site/
If you browse the repo you can find the following update site:
https://github.com/EmteZogaf/practicalmacro-site/raw/master
I tested it on latest eclipse PHOTON and it seems to work.

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.