New scripting language support: Java

Started by maxorator, Apr 02, 2016, 10:11 PM

Previous topic - Next topic

MEGAMIND

Quote from: NewK on Aug 18, 2024, 04:11 AMIt already works with 0.4.7.1, there's no changes to the plugin api
actually i recived this Plugin error >> VcmpPluginInit in 'plugins/libjavapluginrel64.dll' returned 0.
Failed to load plugin: libjavapluginrel64

NewK

Quote from: MEGAMIND on Aug 18, 2024, 07:22 AM
Quote from: NewK on Aug 18, 2024, 04:11 AMIt already works with 0.4.7.1, there's no changes to the plugin api
actually i recived this Plugin error >> VcmpPluginInit in 'plugins/libjavapluginrel64.dll' returned 0.
Failed to load plugin: libjavapluginrel64
If you're having this error with 0.4.7.1 you're also having this error with 0.4.7.0. Something in your javaplugin.properties is most likely wrong

MEGAMIND

#62
this is my first time installing this plugin and i think i have ibstalled jdk 8 or maybe 11 as i work with some android platfforms..

C:\Users\HP>java -version
java version "17.0.8" 2023-07-18 LTS
Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

kindly let me know where to add the jdk in my server or move the server to some relative path

NewK

Quote from: MEGAMIND on Aug 19, 2024, 05:40 AMthis is my first time installing this plugin and i think i have ibstalled jdk 8 or maybe 11 as i work with some android platfforms..

C:\Users\HP>java -version
java version "17.0.8" 2023-07-18 LTS
Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

kindly let me know where to add the jdk in my server or move the server to some relative path
You need to configure it in the javaplugin.properties file.
See an example here: https://github.com/newk5/vcmp-maven/blob/master/javaplugin.properties

Also make sure you remove any comments that are inside that file (if you have any)