Cannot find sun.java.command system property on OpenJDK6, this causes a NPE
Exception in thread "main" java.lang.NullPointerException
I am working on a work-around.
Awesome, thank you! i wish there were a godo way to get at the native ARGV :-(
Let me know if you get stumped, I can set up a dev env with OpenJDK to explore. Sadly, main env is Mac, so no OpenJDK6 :-(
I have been using it fine with OpenJDK 1.7 on Ubuntu, fwiw :-(
I found where the java launcher sets this up in OpenJDK 7, but sadly I also found where it isn't setting it up in OpenJDK 6. I have not found anythign analogous in OpenJDK6 yet.
That said, things seem to have been rearranged since b24, so still poking
Wow. You're fast. I'll be able to take a look tomorrow.
Okay, found the launcher in the jdk6 tree, it has the same line to set things up
lines 324 and 1597
BTW, I am in need of being able to change the user and group of the spawned process. I was looking through the posix_spawn manpage and it looks like that's easily accomplished through the system call itself. I was planning on implementing that tomorrow (or Friday), is that something you would be interested in?