Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see:
viewtopic.php?t=158230
New to Debian (Or Linux in general)? Ask your questions here!
rain13
Posts: 3 Joined: 2017-06-19 19:15
#1
Post
by rain13 » 2017-06-19 19:30
can anyone explain this?
I installed java 8 on my arm-hf debian using
Code: Select all
apt-get install oracle-java8-installer
But when I try to run java it says no such file or directory.
The schreenshot above shows that in this directory I even have java binary, but for for some reason I still get "No such file or directory."
orythem27
Posts: 252 Joined: 2017-05-11 07:59
Location: P.R. China
#2
Post
by orythem27 » 2017-06-20 03:53
Maybe that installer did not automatically update necessary environment variables for you, such as PATH and JAVA_HOME.
I used to use `make-jpkg` to generate deb packages from the oracle installer. It would be easier to manage afterwards.
1. Download official package from oracle website. e.g. {jre,jdk}-8u*-linux-arm*.tar.gz
2. Install java-package and use make-jpkg to generate deb packages.
3. Install generated deb packages. Of course you'll have to remove those installed by `oracle-java8-installer` first.