I wrote an executable jar, running on linux.
via java-cp a.jar: b.jar: c.jar Main to run.
b.jar and c.jar are externally referenced package, if the package referenced a lot , run the command would write a very long string .
how can pack when the jar package references are playing in it ?
Under
windows me modify MANIFEST.MF file, add the Class-Path is possible. But not under linux .
anyone know?
------ Solution ------------------------------------ --------
linux as you can , as long as the Class-Path path written on the inside of the line .
windows and linux absolute path is not the same wording , try using a relative path.
------ Solution ---------------------------------------- ----
you download a called
Build fat jar of Eclipse plug-ins,
can easily put together a combination of each jar .
------ Solution ---------------------------------------- ----
you can write a script to start with a cycle time will be dependent on the jar to the classpath append all , I do not know if this is not the most ways , but I was so dry
- ---- For reference only ---------------------------------------
< br />
looks like I made a mistake , windows does not work, not in a jar bag.
------ For reference only -------------------------------------- -
lZ this issue, I too uncertain , not conclusions. Why not ask the next eclipse to develop it?
while seeking vote :
http://vote.blog.csdn.net/blogstaritem/blogstar2013/zhangerqing
------ For reference only ---------------------------------------
This easy to use,
However , the plan to install all of the plug , the deployer can not only use the script deployment.
------ For reference only ---------------------------------- -----
This easy to use,
However , the plan to install all of the plug , the deployer can not only use the script deployment.
you put all references to synthesize a jar jar,
ran the script that runs when a jar not it?
------ For reference only -------------------------------------- -
This easy to use,
However , the plan to install all of the plug , the deployer can not only use the script deployment.
you put all references to synthesize a jar jar,
ran the script that runs when a jar not it?
ah , looks like it can only be the case. Thank you
没有评论:
发表评论