I am only able to run Intellij on openjdk8 currently as the fonts become unusable. In my JDK11 installation, I copied my freetype ".so" files into the lib directory of the jdk, but that did not change anything. It was my understanding that the JDK no longer bundles truetype fonts, so those libraries need to be manually copied.
Related
I am just experimenting to learn how to package and install a java app built on intellij onto a PC.
I built hello world in intellij using "C:\Program Files (x86)\OpenJava\openjdk-15.0.2_windows-x64_bin\jdk-15.0.2" and it runs in the development environment.
If I understand Launch4j, I can specify in the JRE tab a bundled JRE so I am not dependant on what is on the target PC.
My question is what do I put in the "Bundled JRE path" box on the JRE tab in Launch4j. Path to JRE, JDK, openJDK. Does the path include a file name? Is it just a directory, the BIN?
a bit lost,
Thanks, Tony
I was able to find an example like mine and the solution works for me.
How to bundle a JRE with Launch4j?
Since I code on several computers, I decided to install IntelliJ IDEA portable on my USB drive right next to my portable JDK installation. Now I would like to point to that JDK with a relative path inside IntelliJ so the IDE can find it everywhere. Unfortunately, it seems like I can only store the absolute path to the JDK, although the drive letter of my USB may change from device to device. Is there any way around this?
JDK paths are stored in the IDE settings vs the project settings and currently there is no way to specify the JDK path relatively, it will always use the absolute path.
Please vote for this feature request if you need this feature in the future IntelliJ IDEA updates.
I am evaluating the creation of an IntelliJ IDEA plugin which would ship OS-specific binaries, for macOS, Linux and Windows.
The binaries are fairly large, so I don't want to ship binaries for the 3 OS in the same plugin archive. Is it possible to create OS-specific zip archives for an IntelliJ plugin?
It's not possible to make 3 different binaries for the one plugin.
Different approaches you can take:
3 different plugins. Shared code can be put in a different code module
The plugin downloads the binary upon startup from a private server (ftp / nexus)
Install the binaries separately, and have the plugin find the binaries via an environment variable
Good luck!
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!
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.