2017-06-22 44 views
0

由于我们的spring批处理过程需要大量时间,因此我们希望部署Java更改而不重新启动我们的unix脚本。 这个unix脚本基本上有命令来运行我们的主要Java类。 我想在我们的应用程序中启用jrebel的功能。 通过一些文件,但没有找到任何正确的。unix中的spring批处理应用程序Jrebel

有人可以帮忙吗?

回答

1

根据您的IDE,可以按照整机配置here

你不JRebel的javaagent添加到应用程序服务器,但你需要JRebel的-agentpath参数添加到JVM命令:

Windows 64-bit JDK java -agentpath:C:\JRebel\lib\jrebel64.dll com.example.Main 
Windows 32-bit JDK java -agentpath:C:\JRebel\lib\jrebel32.dll com.example.Main 
Mac OS X 64-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel64.dylib com.example.Main 
Mac OS X 32-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel32.dylib com.example.Main 
Linux 64-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel64.so com.example.Main 
Linux 32-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel32.so com.example.Main