![]() |
Re: JAVA on the N900 is possible!
Quote:
unlike windows, linux shells usually don't have the current path in the PATH variable. |
Re: JAVA on the N900 is possible!
Quote:
Quote:
There's got to be some silly mistake I've made, but I just can't seem to figure it out... :( |
Re: JAVA on the N900 is possible!
can someone try nav4all? this might enable turn-by-turn navigation on the n900
|
Re: JAVA on the N900 is possible!
Sorry I thought NinjaVideo.net had a java applet that you need to launch first in order to watch the streaming content on there????
|
Re: JAVA on the N900 is possible!
@Xizor - Did you download the archive onto a Windows PC, expand it, then copy it across? If so, you may have lost permissions...
Type "ls -al /home/opt/java/ejre1.6.0_10/bin" into an xterm On the left-hand side, you should see a column of permission data ("r", "w", "d" etc) ... the files should all have "-rwxr-xr-x" for their permissions. |
Re: JAVA on the N900 is possible!
Quote:
because you extracted it under windows and copied it to MyDocs first, the executable flags were lost. MyDocs is a vfat partition and doesn't support executable flags. my suggestion to just copy the extracted content over wasn't so good after all. you better delete the folder ejre1.6.0_10 (run "rm -rf ejre1.6.0_10" as root when in the directory /home/opt/java) and do this instead: copy the .tar.gz (or .tgz, haven't d/l it yet) on the n900, then Code:
sudo gainroot the changes in /etc/profile and the symlink won't be affected if you just delete the folder btw, so you don't have to do that again :) |
Re: JAVA on the N900 is possible!
Thank you both SubCore and Dak for the help! Now it's working. :)
Although I don't seem to be able to run even the simplest Swing- app => The ever annoying HeadlessException appears. :( Dak, could you post the sample Java code for the Java Swing app you used for testing this rte? |
Re: JAVA on the N900 is possible!
Thanks for the instructions, Dak!
Just a note, the N900 has tar with gzip on it. So you can "tar xzvf" on your device without a problem. It avoids the permissions problems of the other methods. Also /home/user/opt is also just /opt so you can shorten your path a bit. Is there a specific reason why you choose /usr/local/bin for your symlink, instead of /usr/bin? Wouldn't it be easier to just add it to /usr/bin? |
Re: JAVA on the N900 is possible!
I tend to leave /usr/bin for "system" kinda stuff, and put all my personal meddling into /usr/local/bin
It's just the way I like to keep my hackery separate, that's all. |
Re: JAVA on the N900 is possible!
Wow.
The headful Java works amazingly well. I tried the Java 2D demo, and it worked at a reasonable speed! Not as fast as my desktop, but I didn't say, "oh man, this is slow" or anything... If Sun will let N900 owners use this without trial limitations, then we really do have a viable Java SE for the N900. Now to try Opera Mini via MicroEmulator ;) (EDIT: Using this method) |
All times are GMT. The time now is 15:02. |
vBulletin® Version 3.8.8