ukarim / smscsim

smpp smsc simulator
MIT License
17 stars 8 forks source link

Building issue #11

Closed elhananjair closed 8 months ago

elhananjair commented 8 months ago

I am trying to build the application, I am having a problem:

Error: LinkageError occurred while loading main class smscsim.Main
        java.lang.UnsupportedClassVersionError: smscsim/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
ukarim commented 8 months ago

Hi,You have compiled the smscsim with java 21, but tried to run it with java 17. Just use java21 when doing java smscsim.Mainor you can use prebuilt docker imagedocker run -p 2775:2775 -p 12775:12775 ukarim/smscsimSent from my Galaxy

elhananjair commented 8 months ago

@ukarim thank you so much I executed with docker and it worked for me.