OSGi Bundles giving @vm_params error

I'm using IntelliJ 12, and when I try to run my OSGi Bundles using the plugin, it givens me this error:

Error: Could not find or load main class @vm_params

It's trying to run this command:

/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/bin/java @vm_params /private/var/folders/tx/tx368m811r192l8rgk7xz3hh0000gn/T/vm_params8836535863775940613.tmp -Dfile.encoding=MacRoman -classpath "/Applications/IDEs/IntelliJ IDEA 12.app/plugins/osmorc/lib/pax-runner.jar:/Applications/IDEs/IntelliJ IDEA 12.app/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain org.ops4j.pax.runner.Run --p=felix --nologo=true.....<lot's more>

The weird thing is if I run the plugin with none of my bundles deployed, it starts fine, but the @vm_params is not being added to that command...

Thanks in advance for any help!


1 comment
Comment actions Permalink

Ok, so it looks like it's putting the command together in the wrong order. The @vm_params is coming right after the java, when it appears that it should be towards the end of the command, since it's something specific to IntelliJ, not Java. Any idea how to modify the output or order of this command?


Please sign in to leave a comment.