jpype调用jar

import easygui
import os
from jpype import *

jarpath = "d:\jar"
print "jarPath: %s" % jarpath
jpath=getDefaultJVMPath()
# jarpath= os.path.join(os.path.abspath('.'),jarpath)
print jpath
startJVM(jpath,"-Djava.ext.dirs=%s" %jarpath)
java.lang.System.out.println("Hello World") Web = JClass('com.***.indicator.tool.WebServiceHelper')
上一篇:FICO-初级会计学


下一篇:自动化CodeReview - ASP.NET Core依赖注入