0
I downloaded jgit packed in sh file and ran it in mingw. I watched in process list that java process was started just with main class and parameters
"c:\Program Files\Java\jdk1.6.0_26\bin\java.exe" org.eclipse.jgit.pgm.Main diff master
I checked process current directory for unpacked main class, there was nothing! Where is main class located on file system?
Java process can directly read from sh file? – misha nesterenko – 2012-01-14T12:06:48.513
@mishanesterenko It's not an
.sh
file. It's a combination.sh
/.jar
file. See my edited answer. – Daniel Beck – 2012-01-14T12:19:22.220