Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find or load main class com.licel.jcardsim.remote.BixVReaderCard #118

Open
manishkumarsyscom opened this issue Dec 18, 2017 · 4 comments

Comments

@manishkumarsyscom
Copy link

While following the steps provided in the ReadMe (available in the Sample folder) along with the jCardSim GP we are facing an issue while executing below command:

java -cp $JCARDSIM_GP_HOME/jcardsim.jar:$JCARDSIM_GP_HOME/jcardsim-gp.jar:$JCARDSIM_GP_HOME/samples/unwrap/target/unwrap-2.2.1.jar com.licel.jcardsim.remote.BixVReaderCard $JCARDSIM_GP_HOME/samples/unwrap/jcardsim.cfg

Error we are getting is as following:
Error: Could not find or load main class com.licel.jcardsim.remote.BixVReaderCard

@annu0412
Copy link

annu0412 commented Dec 18, 2017

@manishkumarsyscom You can use maven to build this project, it will be easy for you.

@manishkumarsyscom
Copy link
Author

Thanks Anurag,

Yes we can use Maven.
But do you know if something missing in the provided steps ?

@annu0412
Copy link

Clone branch 2.2.1 or 2.2.2 instead of master branch.

@licel
Copy link
Owner

licel commented Dec 22, 2017

Do you set JCARDSIM_GP_HOME environment variable? Navigate to the distro folder, and simply try

Linux/MacOS:
java -cp jcardsim.jar:jcardsim-gp.jar:samples/unwrap/target/unwrap-2.2.1.jar com.licel.jcardsim.remote.BixVReaderCard samples/unwrap/jcardsim.cfg

Windows:
java -cp jcardsim.jar;jcardsim-gp.jar;samples\unwrap\target\unwrap-2.2.1.jar com.licel.jcardsim.remote.BixVReaderCard samples\unwrap\jcardsim.cfg

Do not forget to build sample/unwrap before using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants