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

unable to use the jar file #2

Open
pvssvikas opened this issue Jul 3, 2018 · 10 comments
Open

unable to use the jar file #2

pvssvikas opened this issue Jul 3, 2018 · 10 comments
Assignees

Comments

@pvssvikas
Copy link

Hello idsecurity,

I might be hitting very basic issue, can you please help me use the application. I could not find SNAPSHOT.jar as being mentioned in README.md

java -jar LDIFCompare-1.4.jar --help
Error: Could not find or load main class se.idsecurity.ldifcompare.LdifUtilities

I see the class file present in jar, but some how it is not helping.

Thanks,
-Vikas.

@idsecurity
Copy link
Owner

Hello,

The documentation in this is incorrect, it should be LDIFCompare-1.4.jar, the file in the release (https://github.com/idsecurity/LdifCompare/releases/download/v1.4/LDIFCompare-1.4-bin.zip)

Can you provide me with more details:

  1. Which OS?
  2. Which Java version? Run java -version

Thanks

@pvssvikas
Copy link
Author

  1. Mac OS
  2. java version "1.8.0_60"
    Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
    Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

@idsecurity
Copy link
Owner

Hello,

I'm unable to reproduce this since I don't have a Mac.

I tested with 1.8.0_60 for Windows and it works here.

Can you try with a newer Java version and see if there is any difference?

Thanks

@mohammedtuhin
Copy link

Hi,
I'm having the same issue. I'm on CentOS Linux 7 (Core) and using the following:
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

Please suggest the resolution.

Thanks.

@idsecurity
Copy link
Owner

@mohammedtuhin, I can't reproduce the error.
What happens when you run java -jar LDIFCompare-1.4.jar ?
I have tried OpenJDK 1.8.0_232 on CentOS 7 Core and it works for me.

@idsecurity idsecurity self-assigned this Feb 4, 2020
@mohammedtuhin
Copy link

It gives me the following error:
Error: Could not find or load main class se.idsecurity.ldifcompare.LdifUtilities

@idsecurity
Copy link
Owner

Can you run the following command:
md5sum LDIFCompare-1.4.jar

You should get the following result:
0969e447fcaff60c2b28a0dcd89b5246 LDIFCompare-1.4.jar

@mohammedtuhin
Copy link

on my Mac, I have md5, but it gives a different result

md5 LDIFCompare-1.4.jar
MD5 (LDIFCompare-1.4.jar) = c603488848b2ae079ead91f21ef813f9

@mohammedtuhin
Copy link

I even tried it on CentOS Linux 7 (Core). When I do the md5 check, I get a different value.
md5sum LDIFCompare-1.4.jar
a5baa13df55d58df60381b82e6485fd8 LDIFCompare-1.4.jar

@idsecurity
Copy link
Owner

I don't know what file you have downloaded but that is a wrong checksum. Try to download it again from the releases page.
I assume you unzipped the file?

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