Tiny Core Extensions > TCE Q&A Forum

java extension not working

(1/2) > >>

marbi:
I have installed the java TCE extension and it works properly inside Opera,
but when I type java -version in the console it tells me that there is no java.
I want to use some java application outside of the browser so how do I get this extension working?

curaga:
Java's not in PATH currently, so you need to use the full path (/usr/local/java/bin/java I think)

eclectic-os:
Experience same problem.

Using full path doesn't help.

Errors:
couldn't find libjava.so
and
could not find Java2 Runtime Environment.

 

^thehatsrule^:
Maybe try setting LD_LIBRARY_PATH (or related) or maybe CLASSPATH/-classpath needs to be used

junan:
remember the version is 1.5 not 1.6 ...


--- Code: ---root@anarkia:/# find | grep libjava.so
./mnt/hda2/tclocal/java/lib/i386/libjava.so
./usr/local/java/lib/i386/libjava.so

root@anarkia:/# /usr/local/java/bin/java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
root@anarkia:/#

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version