Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » in a Window Command Prompt(ClassNotFoundException) in a Window Command Prompt [message #1853029] Wed, 15 June 2022 11:53
Paul Brooks is currently offline Paul BrooksFriend
Messages: 3
Registered: June 2022
Junior Member
I downloaded to C:\Users\jpaul\Documentation. I get the following in Windows Command Prompt:

C:\Users\jpaul\Documents>java -cp C:\Users\jpaul\Documents\ org.eclipse.jgit.pgm.Main
Error: Could not find or load main class org.eclipse.jgit.pgm.Main
Caused by: java.lang.ClassNotFoundException: org.eclipse.jgit.pgm.Main

Running Windows 11 Pro. Java version:

C:\Users\jpaul\Documents>java -version
java version "" 2022-04-22 LTS
Java(TM) SE Runtime Environment (build
Java HotSpot(TM) 64-Bit Server VM (build, mixed mode, sharing)

To confirm is in the directory:

Directory of C:\Users\jpaul\Documents

06/15/2022 04:50 AM <DIR> .
06/15/2022 10:51 AM <DIR> ..
06/15/2022 10:25 AM 98 .jgit
06/15/2022 11:31 AM 25,235,698
2 File(s) 25,235,796 bytes
Previous Topic:File Property Set & Read API in Jgit equivalent to SVN's SvnSetProperty
Next on wsl
Goto Forum:

Current Time: Sat Oct 01 02:08:19 GMT 2022

Powered by FUDForum. Page generated in 0.01888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top