Please help to my case.
I am trying to add a jamVM package.
So, check jamVM, classpath in menuconfig
but it's fail when build image.
I see error massege
cf glibj.zip gnu java javax org sun META-INF && i glibj.zip
/bin/bash: cf: command not found
Makefile:663 recipe for target 'glibj.zip' failed
make[5]: *** [glibj.zip] Error 127
How to solve this problem.
I have modified the configure file to solve this problem. The same problem occurred.
I would be grateful to let me know in detail how to solve this problem.
mbo2o
July 20, 2018, 2:15am
2
@mbo2o
Thank you for your reply
I installed the cli and tried it, but it was the same. Should I install only cf-cli?
mbo2o
July 20, 2018, 2:59am
4
To verify your installation, open a terminal window and type cf. If your installation was successful, the cf CLI help listing appears.
1 Like
@mbo2o
I success to install cf-cli.
I don't know how to solve jamVM build problem using cli.
I'd like to know how to install after cli installation.
mbo2o
July 20, 2018, 4:36am
6
You might need to do a clean build
Ciao,
It does not build for every router for me either.
You can find them here:
https://cdn.corifeus.com/lede/17.01.4/packages/arm_cortex-a53_neon-vfpv4/packages/
https://cdn.corifeus.com/lede/17.01.4/packages/mipsel_24kc/packages/
https://cdn.corifeus.com/lede/17.01.5/packages/mipsel_24kc/packages/
https://cdn.corifeus.com/lede/17.01.5/packages/arm_cortex-a9_vfpv3/packages/
==> jamvm_2.0.0-1_arm_cortex-a9_vfpv3.ipk
I use these packages:
ENV SHELL=/bin/bash
RUN apt-get -y update
# if we are using testing
#RUN apt-get -y --with-new-pkgs upgrade
# for stretch / buster / testing / bullseye
# libboost1.55-dev => libboost-dev
# openjdk-7-jdk => default-jdk
# python2.6-dev => python-dev - (though not existing in jessie)
RUN apt -y install asciidoc bash bc time bcc bin86 binutils build-essential bzip2 cmake curl default-jdk fastjar file flex gawk gcc genisoimage gettext git git-core intltool jikespg libboost-dev libgtk2.0-dev libncurses5-dev libssl-dev libusb-dev libxml-parser-perl make mc mercurial nano ncdu patch perl-modules python python-dev quilt rsync ruby sdcc sharutils software-properties-common sshpass subversion sudo unzip util-linux wget xsltproc xz-utils zlib1g-dev
#before it was needed nethack*, still?
# nethack
RUN echo "docker:x:10000:docker" >> "/etc/group"
RUN useradd -u 10000 -g 10000 -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
RUN mkdir -p /etc/sudoers.d
RUN echo 'docker ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
ENV PATH="/build/source:${PATH}"
1 Like
@patrikx3
Thank you for your help
I will do what you say. Can i keep asking question that do not work out?
As i know few days ago default-jdk => openjdk-8-jdk
Current jamVM support openjdk-7-jdk, dismatching jdk version.
So, I install 1.7.0_80 on ubuntu.
Does it matter?
@jinho-park i thinkg the jdk version is important, because they started changing a lot from oracle. you can build with docker that Dockerfile and check the jdk version that Docker container uses, i think the should work.
though i use Debian stable, not sure what happens on Ubuntu...
rain
September 16, 2020, 9:55am
11
Can you run openjdk7 or openjdk8 on openwrt?
tmomas
Closed
September 26, 2020, 9:55am
12
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.