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: *** [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.
Thank you for your reply
I installed the cli and tried it, but it was the same. Should I install only cf-cli?
To verify your installation, open a terminal window and type cf. If your installation was successful, the cf CLI help listing appears.
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.
You might need to do a clean build
It does not build for every router for me either.
You can find them here:
I use these packages:
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?
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
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...
Can you run openjdk7 or openjdk8 on openwrt?
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.