referring to this: Runnable jar with jvm args
I know it's possible to build/export a runnable jar from netbeans with embedded VM arguments. But i'm trying to move to eclipse and try stuff out. Is there any way to do this in eclipse without having to get an external launcher like a batch or wrapper?
EDIT: I tried having a second main class start the jar with the arguments and it's still doesn't seem to be working:
public static void main(String[] args) {
try {
Process exec = Runtime.getRuntime().exec("java -Dsun.java2d.opengl=true -splash:splash.png -jar Radiance.jar");
} catch (IOException e) {
e.printStackTrace();
}
}