JRebel does not start with Liberty Server, Mac, Eclipse Luna, Java 8 runtime

Jrebel does not work with the following configuration: Mac OSX Yosemite, Eclipse Luna, Java 8 runtime. I changed the runtime in Eclipse to Java 6, but in the jrebel log it looks like it is still using the Java 8 runtime. Is there a way to change this. Therefore, when I start my freedom server, I do not see the JRebel banner message when the server starts.

JRebel for Eclipse 6.2.5.RELEASE-201509301022

I see this over and over in jrebel's log:

2015-10-09 11:53:16.737 [rebel.lssr] DEBUG o.z.exec.ProcessExecutor - Started java.lang.UNIXProcess@47acc7c
2015-10-09 11:53:17.164 [rebel.lssr] DEBUG o.z.exec.WaitForProcess - java.lang.UNIXProcess@47acc7c stopped with exit code 0 
2015-10-09 11:54:17.169 [rebel.lssr] DEBUG EclipseJRebelClientAdapter - JVMUtil.findJavaExecutable() vmInstallLocation=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
2015-10-09 11:54:17.169 [rebel.lssr] DEBUG EclipseJRebelClientAdapter - JVMUtil.findJavaExecutable() vmInstallLocation=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
2015-10-09 11:54:17.170 [rebel.lssr] DEBUG o.z.exec.ProcessExecutor - Executing [/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/bin/java, -Drebel.log=false, -Drebel.log.stdout=false, -Drebel.env.ide=Eclipse, -Drebel.env.ide.product=Eclipse, -Drebel.env.ide.version=4.4.2, -Drebel.env.ide.plugin.version=6.2.5.RELEASE-201509301022, -Drebel.properties=/Users/USER/.jrebel/jrebel.properties, -Drebel.license_server.legacy=false, -Drebel.base=/Users/USER/.jrebel, -Drebel.open_browser=true, -Drebel.log.licensing=true, -cp, /Users/USER/Desktop/Downloadsmain/eclipse/plugins/org.zeroturnaround.eclipse.embedder_6.2.5.RELEASE-201509301022/jrebel/jrebel.jar, com.zeroturnaround.javarebel.CLILicensingAPIImpl, reserveSeat, , ]...
2015-10-09 11:54:17.172 [rebel.lssr] DEBUG o.z.exec.ProcessExecutor - Started java.lang.UNIXProcess@2f6bab81
2015-10-09 11:54:17.929 [rebel.lssr] DEBUG o.z.exec.WaitForProcess - java.lang.UNIXProcess@2f6bab81 stopped with exit code 0
+4
source share
1 answer

It should work well with Java8, so no need to switch to Java6. And Java8 is faster.

? Help > JRebel Configuration > Startup, :

  • "IDE", JRebel . , Eclipse, .
  • "CLI", script. , , , JRebel.
  • " ", , . .
+2

Source: https://habr.com/ru/post/1610975/


All Articles