Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on August 08, 2012, 12:18:34 AM

Title: openjdk update request
Post by: bmarkus on August 08, 2012, 12:18:34 AM
Both openjdk-6 and openjdk-7 in repo are more then 2 years old, an update would be appreciated.

Also executables are not visible in the path, Java application, like Tomcat do not find java. A minimum would be to symlink java. Having the JAVA_HOME env. variable set would be good too.
Title: Re: openjdk update request
Post by: curaga on August 08, 2012, 06:51:31 AM
I thought they are set after a reboot? Or was that sun-jre or some other java.
Title: Re: openjdk update request
Post by: bmarkus on August 08, 2012, 09:28:14 AM
I thought they are set after a reboot? Or was that sun-jre or some other java.

I didn't look into the details and into the startup file but found that typing java in the terminal didn't work and TOMCAT didn't found a working JAVA environment. Symlinking java executable to /usr/local/bin fixed the issue.

Anyhow, they are old.
Title: Re: openjdk update request
Post by: bmarkus on August 09, 2012, 01:05:14 AM
Hm... I restested openjdk and it's init script sets up path to its binaries and adds JAVA_HOME environment variable, so it is OK. It does the job when extension installed in boot time. When I tested  I just installed without reboot.
Title: Re: openjdk update request
Post by: curaga on August 09, 2012, 05:23:57 AM
Yeah, a running session can't really be injected to (JAVA_HOME, etc). A re-login would also work.
Title: Re: openjdk update request
Post by: bmarkus on August 09, 2012, 05:30:07 AM
Yes. I will post Tomcat 7 which works fine on top of openjdk-7.