Saturday, February 24, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1185  / 12 Months ago, sat, april 8, 2023, 2:02:43

I have Oracle/Sun JDK 7 installed and alternatives setup. When I try to install Arduino IDE, it says



$ sudo apt-get install arduino
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ax25-node libax25 openbsd-inetd
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
ca-certificates-java default-jre default-jre-headless extra-xdg-menus icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni libjna-java
openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java
Suggested packages:
equivs libjna-java-doc icedtea-7-plugin sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following NEW packages will be installed:
arduino ca-certificates-java default-jre default-jre-headless extra-xdg-menus icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni libjna-java
openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java
0 upgraded, 15 newly installed, 0 to remove and 61 not upgraded.
Need to get 45.4 MB of archives.
After this operation, 68.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.


I do not know how to solve this. I do not want another JDK/JRE installed. Any help is appreciated.


More From » java

 Answers
0

The package arduino deppends of default-jre, which depends of opedjdk-7-jre:



apt-cache depends arduino default-jre
arduino
|Depends: default-jre
Depends: <java6-runtime>
openjdk-6-jre
default-jre
openjdk-7-jre
Depends: libjna-java
Depends: librxtx-java
Depends: arduino-core
Recommends: extra-xdg-menus
Recommends: policykit-1
default-jre
Depends: default-jre-headless
Depends: openjdk-7-jre


Hence, you are doomed to use openjdk.


[#29583] Saturday, April 8, 2023, 11 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raacket

Total Points: 198
Total Questions: 114
Total Answers: 111

Location: Czech Republic
Member since Mon, May 15, 2023
10 Months ago
;