dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Is it completely impossible to work now? Whether it's fat jar or classpath

Open Smilewh888 opened this issue 2 years ago • 2 comments

          > It seems that -jar cannot work with -cp together,-jar cannot get -cp's libraries,Is your shell worked success?have you test your shell script?

Yes, -jar can not work with -cp.

Once we use -jar then the jar should be a fat jar, the better way is to add ext jar by set Class-Path at MANIFEST.MF.

So Can we add entry class in UI and use -cp to refactor this.

Originally posted by @ruanwenjun in https://github.com/apache/dolphinscheduler/pull/15645#discussion_r1515596966

Smilewh888 avatar Mar 08 '24 06:03 Smilewh888

Can both classpath and fat jar be supported?

Is it completely impossible to work now? Whether it's fat jar or classpath

image

Can you explain this Java command?

${JAVA_HOME}/bin/java -classpath .:/tmp~~/285:/tmp/~~~/285//tmp/~~~/285/deploy/SSHPing-3.2.0.jar -jar /tmp/~~~/285//tmp/~~~/285/deploy/SSHPing-3.2.0.jar

Smilewh888 avatar Mar 08 '24 06:03 Smilewh888

Please use issue template.

SbloodyS avatar Mar 12 '24 06:03 SbloodyS