Invalid command: KillProcDLL::KillProc NSIS - plugins

I install the latest version of the NSIS 3.0b0 version (latest one up today)
I copy the KillProcDLL plug-in to plug-in folder.
Try to compile a working script (didn't touch it - was working), but keep getting the Invalid command: KillProcDLL::KillProc.

NSIS 3.0 uses a different folder structure. You have to copy the KillProc plugin into the right subfolder of NSIS\Plugins!

Seems like the issue is the current version (3.0b0)
Solution:
Uninstall NSIS 3.0b0 version
Install prev. version NSIS 2.46
Copy the illProcDLL plug-in to plug-in folder

Related

Bundled JRE error with install4j installer packaged as msix

We create an installer with install4j that bundles the JRE. We then use the MSIX Packaging Tool to create a .msix installer, to publish on the Microsoft App Store.
When we install the .msix package for testing and try to run the application, we get the following error:
"The JVM found at .\jre is damaged. Please reinstall or define EXE4J_JAVA_HOME to point to an installed 64-bit JDK or JRE"
Note that the JRE is bundled with the installer, and it is actually installed in a folder called "jre" under the installation folder.
When we install from the .exe installer, everything works fine, this problem only happens after we create a .msix installer with the MSIX Packaging Tool. We've checked all the installed files and everything looks fine, but the launcher will not run.
Has anybody seen this problem? And is there a solution or workaround?

Not able to run Eclipse on macOS Big Sur

I am not able to run eclipse on macOS Big Sur developers beta I am getting an error stating "Failed to create the java virtual machine". Is there any way to solve the error
The java version I am running:
I have the same issue. I solve it by opening /Applications/Eclipse.app/Contents/Info.plist and adding:
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java</string>
inside
<key>Eclipse</key>
<array>
ADD HERE!
</array>
Of course the "/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java" value must be replaced with the actual path based on the JDK version you are using.
TL;DR
Use this to export JAVA_HOME variable:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
Long Version
This answer is wrt to BigSur v11.0.1 Beta. What I explored is if you have configured your .bash_profile JAVA_HOME export something like this
export JAVA_HOME=$(/usr/libexec/java_home)
Then it case it was trying to importing this, for some reason
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
rather than
/Library/Java/JavaVirtualMachines/**/Contents/Home
For the quick fix, I configured my JAVA_HOME like this
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
If you are switching between multiple JVMs at once then you may find this .bashrc/.zshrc configuration handy
export JAVA_8_HOME="jdk1.8.0_231.jdk"
export JAVA_11_HOME="openjdk-11.0.2.jdk"
export JAVA_13_HOME="jdk-13.0.1.jdk"
alias java8='export JAVA_HOME="/Library/Java/JavaVirtualMachines/$JAVA_8_HOME/Contents/Home"'
alias java11='export JAVA_HOME="/Library/Java/JavaVirtualMachines/$JAVA_11_HOME/Contents/Home"'
alias java13='export JAVA_HOME="/Library/Java/JavaVirtualMachines/$JAVA_13_HOME/Contents/Home"'
# default to Java 8
java8
Edit the Info.plist to set the -vm value.
Install the latest Eclipse version, I am using version 2020-06
Right-click on Eclipse.app
Show Package Contents
Open Info.plist with a text editor
Add -vm/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin/java under the under the key Eclipse. Note - edit the path to Java depending on what version you have. You can see the list by running /usr/libexec/java_home -V
To fix this issue I deleted the openJDK VM and reinstalled it
Delete the openJDK folder from
/Library/Java/JavaVirtualMachines
Reinstall openJDK from here
Open applications and right-click spring suite > Show Package Contents
Edit file Contents/info.plist. Add this
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home/bin/java</string>
This should be inside the array tag inside eclipse key
I solved this by using Homebrew
brew cask install eclipse-java
Same thing happened to me turns out when I ran echo $JAVA_HOME the directory has been replaced,
Doing a brand new export to the java home file seemed to do the trick,
I used
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
Seemed to do the trick, note that your directory might be different I suggest tracing to your correct directory by using "/" then tab to trace the directories.
In my case I'm using a old version IDE and it's dead, already add the JAVA_HOME variable, ini and list of eclipse and not working, also noticed virtualbox is dead also can start any VM.
-vm/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/bin/java
Confirmed, adding below to Infolplist worked. I have Oracle jdk 8 and updated the value below.
-vm/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/java
I tried all solutions posted under this question; but none of them worked for me. Finally, I installed the latest version of Eclipse 2020-09 (4.17.0) to make it work.
I upgraded to Big Sur a few days ago and also encountered this problem when I finally ran Eclipse this morning.
The latest Eclipse 2020-12 release includes its own JRE (!), thus I no longer experience "Failed to create the java virtual machine". I've left my Java versions unchanged for now as I only use Eclipse to create Tomcat webapps and do not run standalone Java.
$ /usr/libexec/java_home
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
$ /usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.8.121.13 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
1.8.0_121 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
1.7.0_60 (x86_64) "Oracle Corporation" - "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
In addition to all steps recommended above I had to create the following symlink:
cd /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib
sudo ln -s ../jre/lib/server/libjvm.dylib libserver.dylib
The version of the Eclipse I use is 4.4.1. (because tested to work well with WebObjects)
I had to install the latest version of Eclipse to make it work since that uses Java 11. This happened after I updated to Big Sur.
Step 1 : Uninstall jdk 8
Step 2 : Install openjdk14 by brew
Step 3 : install eclipse 2020-12 version
I deleted all Eclipse files that were already installed and just simply reinstalled with this --cask eclipse-jee on Home brew. I hope it's helpful for whoever is struggling just like past myself.
I experienced this issue while using Eclipse Mat and JDK Mission Control
On Mac OS v11.6 (Big Sur ) ,the dependency was Java 11 . The following was added in the whatever.app/Contents/Info.plist
<key>Eclipse</key>
<array>
<string>-vm</string
<string>/Users/<yourHomeDir>/.sdkman/candidates/java/11.0.2-open/bin/java</string>
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
</array>
If you are using eclipse 2020-06 sure you will be facing pop-up with empty grey window when debugging.
No chance to use Big Sur with eclipse 2020-06 anymore. I'm using eclipse 2021-03 IDE developer and it's working fine. But STS not support anymore you have to manual change to old JAVA 1.8 for your project.
Right click project and properties
Configure Java Build Path
Libraries Tab -> Edit -> change to Java 1.8
Order and Export Tab -> move JRE System Library on top of Project and External Dependencies.
Apart from the suggestions given, I also had to do an additional step of removing eclipse app from quarantine :
1)Open up a shell
2)Cd yourself into the eclipse directory.
3)Check the attributes of the directory Eclipse.app/ $ xattr Eclipse.app/ com.apple.quarantine
4)Remove the ‘com.apple.quarantine’ attribute. $ xattr -d com.apple.quarantine Eclipse.app/
After completing this along with steps to edit the Info.plist, I was able to open Eclipse
Setting-security&privacy->Full Disk Access, add eclipse or Spring Tool Suite app.
brew install openjdk
add to /Applications/ApacheDirectoryStudio.app/Contents/Info.plist <dict>
<array>:
<string>-vm</string>
<string>/usr/local/opt/java/libexec/openjdk.jdk/Contents/Home/bin/java</string>

Building PostgreSQL from source on Windows

I'm trying to build PosgreSQL in Eclipse CDT Mars on Windows using the MinGW-64 gcc 5.3.0
I installed MSYS2 and used pacman to update all the software that came with it and install gcc etc.
I downloaded the PostgreSQL source code and tried to follow the docs but can't figure out where to download the dependencies? 1. libreadline5-dev, 2. zlib1g-dev, 3. bison (YACC), 4. flex and where to save them to on disk?
I ran ./configure --prefix=$HOME/project --enable-depend --enable-cassert --enable-debug and it seems to have completed with no errors, but I do not see anything at $HOME/project?
I installed Eclipse CDT and added the include paths to the Environment:
I imported the project as Existing Code as Makefile Project.
When I try to build the project Eclipse says Info: Nothing to build for postgres
When I try to run it a dialog box says Unable to Launch. The selection can not be launched and there are no recent launches
How can I run/debug PostgreSQL in Eclipse on Windows?
Thanks!
I recommend just using the prebuilt postgresql package provided by MSYS2. To install the 64-bit version, run:
pacman -S mingw-w64-x86_64-postgresql
You can see the scripts that were used to build it here:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-postgresql
I was able to build PostgreSQL with MSYS2 and MinGW-w64, and I documented it in a video tutorial: How to build PostgreSQL from source on Windows

NetBeans 7.4 beta and Sass on windows 7 x64

as in the title I'm trying to connect the newest NetBeans release with sass. I've pulled the sass-stable from github, unzipped it on harddrive and selected in NetBeans tha path to sass file.
While saving the .scss file I'm getting the error: createProcess error=193, %1 is not a valid win application
My guess is that I should set NetBeans to sass.bat file, but there is no such file in sass package. Plkease, can someone direct me in what should I do to get it working?
Try to install Sass compiler using Ruby Gem, first install Ruby (from here) and then run
gem install sass
After that, path to Sass compiler (in my case) is
C:\Ruby200\bin\sass.bat

How do I build and install a plugin for KDevelop?

In particular, I am trying to install kdev-control-flow-graph
I have managed to clone the source from git, cmake the source to build a kdevcontrolflowgraphview.so installed to /usr/local/lib, but when I restart kdevelop, I can find no sign of the plugin!
Under the Loaded Plugins window, it doesn't show up, and I can't seem to find a way to tell it about the existence of the new plug-in.
I am running KDevelop Version 4.2.3 using KDE Development Platform 4.7.2 on Ubuntu 11.10 64-bit.
Any help or suggestions would be greatly appreciated.
Make sure that "/usr/local/lib" is in your KDEDIRS var, and run "kbuildsyscocoa4 --noincremental"
If that doesn't work, perhaps the plugin's .desktop file needs to have its version modified.
Also note that you aren't running KDE Development Platform 4.7.2 because that doesn't exist (you probably mean KDE 4.7.2), you should be running KDevplatform 1.2.3.