Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Wrapper Connection In Java

Wrapper connection in java

By niralldas8@gmail.com , 17 April, 2025
Forums
Gurux DLMS for Java

Getting error like this,
C:\Users\COMP\Downloads\gurux.dlms.java-master\gurux.dlms.client.example.java>java -jar target\gurux.dlms.client.example.java-0.0.1-SNAPSHOT.jar -S COM4:115200:8NoneOne -i WRAPPER -c 48 -a High -P ABCDEFGH12345678 -C AuthenticationEncryption -T 4C54434C49454E54 -A 31323334353637383930313233343536 -B 31323334353637383930313233343536 -v 0.0.43.1.3.255 -d India -t Verbose
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by gurux.serial.GXSerial in an unnamed module (file:/C:/Users/COMP/Downloads/gurux.dlms.java-master/gurux.dlms.client.example.java/target/gurux.dlms.client.example.java-0.0.1-SNAPSHOT.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Ended. Press any key to continue.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\COMP\AppData\Local\Temp\gurux.serial.java11082750769555113252.dll: Can't find dependent libraries
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:321)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:187)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:129)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2245)
at java.base/java.lang.Runtime.load0(Runtime.java:767)
at java.base/java.lang.System.load(System.java:1624)
at gurux.serial.GXSerial.initialize(GXSerial.java:326)
at gurux.serial.GXSerial.<init>(GXSerial.java:178)
at gurux.dlms.client.Settings.getParameters(Settings.java:341)
at gurux.dlms.client.sampleclient.main(sampleclient.java:83)

Profile picture for user Kurumi

Kurumi

1 year 3 months ago

Hi, I believe that you haven…

Hi,

I believe that you haven't built the Maven project.

run:

mvn package

And try again.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin