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 1 month 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin