|
OpenWRT or router install
|
|
01-01-2015, 21:38
Post: #11
|
|||
|
|||
RE: OpenWRT or router install
(01-01-2015 19:42)alexinc Wrote: alright, after copying jamvm to java, im getting what i feared: The message "Java 7 or later is required" is as expected. The other errors seem to indicate a problem with how your Java installation is configured. These errors might be resolved by moving to a later level of Java. The 'java" executable (or link) needs to be in a directory on your PATH. For most versions of Linux, /usr/local/bin is on the PATH. It seems this isn't the case for the OpenWRT firmware. |
|||
|
05-01-2015, 11:48
Post: #12
|
|||
|
|||
|
RE: OpenWRT or router install
still struggeling with above failure, even after nice guys @openwrt forums were helping me with getting jamvm 2.0 running on my nas. would love first to try with older minimserver version which didn't require java 7+. could you help me plz with older download link for v0.8 linux embedded system? later on i need to research on AWT toolkit... :/
if you are interested, belonging thread can be found here: https://forum.openwrt.org/viewtopic.php?id=54849 i think it would be awesome to get running minimserver on openwrt, as it seems quite powerful with luci as frontend, which has nice support for minidlna - by far not as powerful as minimserver when it comes to serving audio! ![]() see last 2 screenshots: http://diantokam.blogspot.de/2012/11/ope...erver.html |
|||
|
05-01-2015, 12:32
Post: #13
|
|||
|
|||
RE: OpenWRT or router install
(05-01-2015 11:48)alexinc Wrote: still struggeling with above failure, even after nice guys @openwrt forums were helping me with getting jamvm 2.0 running on my nas. would love first to try with older minimserver version which didn't require java 7+. could you help me plz with older download link for v0.8 linux embedded system? later on i need to research on AWT toolkit... :/ All MinimServer versions have required Java 6 or higher, so going back to an older version wouldn't help. Also, I can't provide any support for older versions. On the other thread, I noticed this: gnu classpath does not support full Java 7 I think this means you are unlikely to succeed with jamvm + classpath. Have you tried using Oracle Java SE Embedded? What CPU does your router have? |
|||
|
05-01-2015, 15:12
Post: #14
|
|||
|
|||
|
RE: OpenWRT or router install
i tried java embedded successfully with FFP on original medion (zyxel) firmware, so cpu support shouldn't be the problem! Dual Core ARM PLX-NAS7820 750 MHz (http://www.mikrocontroller.net/articles/P89626) thats why i'm hunting for minimserver support on openwrt now!
when extracting now on openwrt like i did on medion firmware and recommended by uli (http://nas-tweaks.net/419/installation-o...-fun_plug/) i'm failing...i guess next step is somehow compiling jamvm + openjdk classpath, as this is said to support java 7+ !? |
|||
|
05-01-2015, 17:10
(This post was last modified: 05-01-2015 17:13 by simoncn.)
Post: #15
|
|||
|
|||
RE: OpenWRT or router install
(05-01-2015 15:12)alexinc Wrote: i tried java embedded successfully with FFP on original medion (zyxel) firmware, so cpu support shouldn't be the problem! Dual Core ARM PLX-NAS7820 750 MHz (http://www.mikrocontroller.net/articles/P89626) thats why i'm hunting for minimserver support on openwrt now! It sounds like you have tried running Oracle Java SE Embedded on OpenWRT. If this doesn't work, what is the problem? |
|||
|
05-01-2015, 19:27
(This post was last modified: 05-01-2015 20:18 by alexinc.)
Post: #16
|
|||
|
|||
|
RE: OpenWRT or router install
ok, i'd like to test with embedded java again and would like to post my steps. maybe my mistake is somewhere in between?
i'm referring on this guide (http://nas-tweaks.net/419/installation-o...-fun_plug/), guess my biggest problem is setting the path for/in openwrt... 1. i'm downloading ejre-7u71-fcs-b14-linux-arm-sflt-headless-26_sep_2014.tar.gz from http://www.oracle.com/technetwork/java/e...index.html 2. mkdir /usr/share/java 3. cp ejre-7u71-fcs-b14-linux-arm-sflt-headless-26_sep_2014.tar.gz /usr/share/java 4. cd /usr/share/java 5. tar xzvf ejre-7u71-fcs-b14-linux-arm-sflt-headless-26_sep_2014.tar.gz 5. ln -s ejre1.7.0_71 jre 6. echo "export PATH=/usr/share/java/jre/bin:\$PATH" >> /etc/profile 7. reboot root@OpenWrt:/# java -version /bin/ash: java: not found could adding the PATH to its right position solve all my troubles?
|
|||
|
05-01-2015, 21:01
Post: #17
|
|||
|
|||
RE: OpenWRT or router install
(05-01-2015 19:27)alexinc Wrote: ok, i'd like to test with embedded java again and would like to post my steps. maybe my mistake is somewhere in between? What happens if you type: /usr/share/java/jre/bin/java -version If this works, the problem is with your PATH setting. You can check this by typing: echo $PATH |
|||
|
06-01-2015, 17:49
Post: #18
|
|||
|
|||
|
RE: OpenWRT or router install
nope, no success...
![]() root@OpenWrt:/# /usr/share/java/jre/bin/java -version /bin/ash: /usr/share/java/jre/bin/java: not found PATH seems to be setup the right way. root@OpenWrt:/# echo $PATH /usr/share/java/jre/bin:/usr/bin:/usr/sbin:/bin:/sbin |
|||
|
06-01-2015, 21:04
Post: #19
|
|||
|
|||
RE: OpenWRT or router install
(06-01-2015 17:49)alexinc Wrote: nope, no success... It sems you either haven't installed the java executable in the expected location or you don't have the correct version of java. What output do you get from the following commands? ls -l /usr/share/java/jre/bin/java ls -l /usr/share/java/jre ls -l /usr/share/java |
|||
|
06-01-2015, 22:38
Post: #20
|
|||
|
|||
|
RE: OpenWRT or router install
root@OpenWrt:/# ls -l /usr/share/java/jre/bin/java
-rwxr-xr-x 1 10 143 3420 Sep 27 00:58 /usr/share/java/jre/bin/java root@OpenWrt:/# ls -l /usr/share/java/jre lrwxrwxrwx 1 root root 12 Jan 6 21:23 /usr/share/java/jre -> ejre1.7.0_71 root@OpenWrt:/# ls -l /usr/share/java -rwxr-xr-x 1 root root 33542660 Jan 6 21:21 ejre-7u71-fcs-b14-linux-arm-sflt-headless-26_sep_2014.tar.gz drwxr-xr-x 4 10 143 576 Jan 6 21:22 ejre1.7.0_71 lrwxrwxrwx 1 root root 12 Jan 6 21:23 jre -> ejre1.7.0_71 |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)

Search
Member List
Calendar
Help





