Re: [gentoo-user] Switching current java-vm for a single application

2016-02-02 Thread Alon Bar-Lev
If all what script is doing is executing "java", just add the right JRE to your PATH as first element. On 3 February 2016 at 01:04, Leonardo Guilherme wrote: > Problem is, the SenchaCmd script runs java directly, which resolves to > /usr/bin/java, which itself is a script that checks the user cho

Re: [gentoo-user] Switching current java-vm for a single application

2016-02-02 Thread Leonardo Guilherme
Problem is, the SenchaCmd script runs java directly, which resolves to /usr/bin/java, which itself is a script that checks the user choice regarding the selected java-vm: setting JAVA_HOME does nothing to fix that. I can edit the SenchaCmd script to run java directly, that would be the quickfix. T

Re: [gentoo-user] Switching current java-vm for a single application

2016-02-01 Thread Alon Bar-Lev
On 31 January 2016 at 19:17, Leonardo Guilherme wrote: > > Hello. > > I'm using OpenJDK JVM regularly on my machine instead of Oracle's one, > primarily because of the infinality patches and because I prefer open source > software. > > There are some applications, though, that do not play ball w

Re: [gentoo-user] Switching current java-vm for a single application

2016-02-01 Thread R0b0t1
It should be possible to just run the Oracle binary directly. The configuration necessary for an application should be entirely contained within that application. As far as I know, everything else is based on an interface which is mostly standard (excepting things like the foreign function interfac

[gentoo-user] Switching current java-vm for a single application

2016-01-31 Thread Leonardo Guilherme
Hello. I'm using OpenJDK JVM regularly on my machine instead of Oracle's one, primarily because of the infinality patches and because I prefer open source software. There are some applications, though, that do not play ball with it (namely, SenchaCmd) and I have to keep switching back and forth b