WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: java extension not working  (Read 3193 times)

Offline marbi

  • Newbie
  • *
  • Posts: 2
java extension not working
« on: April 13, 2009, 11:36:24 AM »
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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: java extension not working
« Reply #1 on: April 13, 2009, 11:47:50 AM »
Java's not in PATH currently, so you need to use the full path (/usr/local/java/bin/java I think)
The only barriers that can stop you are the ones you create yourself.

Offline eclectic-os

  • Newbie
  • *
  • Posts: 18
Re: java extension not working
« Reply #2 on: May 11, 2009, 05:21:02 PM »
Experience same problem.

Using full path doesn't help.

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

 

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: java extension not working
« Reply #3 on: May 11, 2009, 07:25:42 PM »
Maybe try setting LD_LIBRARY_PATH (or related) or maybe CLASSPATH/-classpath needs to be used

Offline junan

  • Jr. Member
  • **
  • Posts: 88
Re: java extension not working
« Reply #4 on: May 13, 2009, 03:15:27 AM »
remember the version is 1.5 not 1.6 ...

Code: [Select]
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:/#
fun and fearless ...

Offline eclectic-os

  • Newbie
  • *
  • Posts: 18
Re: java extension not working
« Reply #5 on: May 17, 2009, 06:41:44 AM »
Think there is an issue in the way you're using/installing tc?

When loading java.tce after starting tc in cloud mode, there's no problem.

Experience the problem when using the persistent storage.


Offtopic:

Do not really know how to maintain the storage (I'm using the tclocal file), wanted to install tcuninstall, or delete the file, and install java.tce again to see problems still  there.

(But, for 12h. now, appbrowser can't connect? Get no extenssion list anymore. Rebooted without use of storage, and appbrowser gets connected again. Strange, there seems to be some relationship between using store and connection appbrowser, tried several times, same result every time).   
« Last Edit: May 17, 2009, 06:54:11 AM by eclectic-os »