beanit / asn1bean

ASN1bean (formerly known as jASN1) is a Java ASN.1 BER and DER encoding/decoding library
https://www.beanit.com/asn1/
Apache License 2.0
110 stars 45 forks source link

Error: Could not find or load main class com.beanit.jasn1.compiler.Compiler #23

Closed mibollma closed 5 years ago

mibollma commented 5 years ago

Running the compiler script in GIT bash prints the error Error: Could not find or load main class com.beanit.jasn1.compiler.Compiler

Replacing line 8 in jasn1-compiler with SCRIPT_HOME="$( cd "$(dirname "$0")" ; pwd -P )" seems to fix the issue.

sfeuerhahn commented 5 years ago

thanks, I tried to fix that and a more general case in which jasn1 is located in a symbolic link directory in 88f97be . Can you test it with that new script?

mibollma commented 5 years ago

:thumbsup: Looks good