OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Java (blackdown)in web-browsers (firefox, dillo) - working?
piotr
post May 21 2004, 10:39 PM
Post #1





Group: Members
Posts: 69
Joined: 9-May 04
Member No.: 3,210



Hi,

Does somebody work it out how to have java in webbrowsers?

I ve installed Blackdown java and standalone java programs works (but everytime I have to write export JAVA_Home=/usr/local/j2re1.3.1 and PATH=$PATH:$JAVA_HOME/bin and then call java -jar program_name.jar).

I am thinking how to link java with browsers to be able to use webmail and chats.
Does anybody found a solution and is willing to share it?
thanks,
Piotr :wink:
Go to the top of the page
 
+Quote Post
time
post May 23 2004, 07:50 AM
Post #2





Group: Members
Posts: 54
Joined: 10-May 04
From: US
Member No.: 3,225



poitr,
How did you get this to work, and on what platform?!
I have a C860, and installed, and had lots of problems.
First, I had to link armv4l to armv5tel in lib and bin.
Then I had to install the ipaq-stuff archive.
Now, when I run, I get the error:
CODE
UnsatisfiedLinkError: libfontmanager.so: libstdc++-lib6.2.2.so.3: cannot open shared object file: No such file or directory.

Well, of course, I only have libstdc++-3-libc6.1-2.2.10.0.so
tim.
Go to the top of the page
 
+Quote Post
piotr
post May 23 2004, 09:40 AM
Post #3





Group: Members
Posts: 69
Joined: 9-May 04
Member No.: 3,210



Hi Time!
There are few versions of blackdown circulating over the internet. You need this one:

http://radio.weblogs.com/0102385/categorie...03/06.html#a533

It worked for me. I have small problem with path statement because if I want to run java app. I have to call path to java - it is annoying for me but there are costs of beeing newbee to linux.
But anyway - this how-to worked for me. Maybe after installing You will know how run .jar without typing thousands of lines before it.
regards,
Piotr
Go to the top of the page
 
+Quote Post
time
post May 23 2004, 11:32 AM
Post #4





Group: Members
Posts: 54
Joined: 10-May 04
From: US
Member No.: 3,225



Here is how I got the stock Blackdown JRE1.3.1 to install:
CODE
Install the Blackdown J2RE 1.3.1 (from www.blackdown.org)

Install the IPAQ extra stuff (from www.blackdown.org)

Symlink the armv4l directories in lib and bin to armv5tel

Download and install the required libcstd++ library (link below)

Set JAVA_HOME and PATH appropriately in my bashrc.

Here is the libstdc++ link: http://familiar.handhelds.org/releases/v0....07-fam1_arm.ipk

And now I am running my Swing Java apps on the Zaurus!!!
It is slow, but it is very stable.
Go to the top of the page
 
+Quote Post
doublec
post May 23 2004, 03:18 PM
Post #5





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



This is exactly what I did, and then I packaged it up into an IPK and made it available as linked in piotr's message above.
Go to the top of the page
 
+Quote Post
time
post May 23 2004, 04:57 PM
Post #6





Group: Members
Posts: 54
Joined: 10-May 04
From: US
Member No.: 3,225



Indeed. Alas, I was busy figuring it all out during the time that poitr posted the the link to your page! smile.gif
It is much nicer to have the ipk now. Thanks. - tim
Go to the top of the page
 
+Quote Post
piotr
post May 23 2004, 10:54 PM
Post #7





Group: Members
Posts: 69
Joined: 9-May 04
Member No.: 3,210



Doublec - great job!! thanks.
Do You know propably why I am getting such a message after installing that java ipk?
/sbin/ldconfig: /usr/local/lib/libXp.so.6 is not a symbolic link
/sbin/ldconfig: /usr/local/lib/libXm.so.2 is not a symbolic link
?
Also I have to write java_home and path before running java app.
I have pdaXrom installed on one root partition at C760.
Is there maybe a simple solution I didnt figured out?
regards,
Piotr
PS. Somebody have JAVA in webbrowsers? Can someone use chat or webmail???
Go to the top of the page
 
+Quote Post
doublec
post May 24 2004, 03:43 PM
Post #8





Group: Members
Posts: 92
Joined: 2-January 04
Member No.: 1,338



Yes, the path needs to be set. I believe JAVA_HOME isn't needed as long as the 'java' executable is in the path. That's true for later JVM's anyway. The ldconfig warnings can be ignored. It's because of the way the tar in the IPK was generated, it replaced the symbolic links with actual copies of the files. This is ok. If you are worried about it you can rn those files and re-link them:

ln -s /usr/local/lib/libXp.so /usr/local/lib/libXp.so.6
ln -s /usr/local/lib/libXm.so /usr/local/lib/libXm.so.2
Go to the top of the page
 
+Quote Post
piotr
post May 24 2004, 09:26 PM
Post #9





Group: Members
Posts: 69
Joined: 9-May 04
Member No.: 3,210



Thanks Doublec.
Most impotrant is that it works. I dont care about those warrnings as long as You ve said it is ok.
thanks
piotr
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th November 2014 - 12:54 AM