Installing BlueJ

Greeting …

I try to Installing Bluej with specific custom version, with this code


daunjrk@localhost:~/Downloads> sudo dpkg -i BlueJ-linux-411-duke.deb
(Reading database ... 459 files and directories currently installed.)
Preparing to unpack BlueJ-linux-411-duke.deb ...
Unpacking bluej (4.1.1-duke) over (4.1.1-duke) ...
dpkg: dependency problems prevent configuration of bluej:
 bluej depends on openjdk-8-jdk | oracle-java8-jdk | oracle-java8-installer; however:
  Package openjdk-8-jdk is not installed.
  Package oracle-java8-jdk is not installed.
  Package oracle-java8-installer is not installed.
 bluej depends on libopenjfx-java | oracle-java8-jdk | oracle-java8-installer; however:
  Package libopenjfx-java is not installed.
  Package oracle-java8-jdk is not installed.
  Package oracle-java8-installer is not installed.

dpkg: error processing package bluej (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bluej



this is my java version :


java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (IcedTea 3.6.0) (build 1.8.0_151-b12 suse-1.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

daunjrk@localhost:~/Downloads> javac --version
javac 9.0.1


I try to Installing openjdk8 with YaST to ensure that openjdk version “1.8.0_151” is up to date, encountered error message :

Software installation
The installation has failed. For more information, see the log file at /var/log/YaST2/y2log. Failure stage was: Installing Packages
Error Message
An error occurred while attempting to install the specified packages. Review the yast2 logs for more information.

i have read on this site https://en.opensuse.org/SDB:Installing_Java and follow the instruction.

is there any clue how to installing Bluej on suse tumbleweed… i have google it but still don’t have any clue.

You cannot use Debian packages on openSUSE so forget dpkg and .deb. SUSE is an .RPM distribution and mixing (using alien or otherwise) .deb’s will mess it up badly.

Instead, add the Education repository and install bluej from there:


sudo zypper ar -f http://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/Education.repo
sudo zypper ref
sudo zypper in bluej

We use .rpm here

thank’s for answering…

instead for installing a specific bluej package i just reinstall a bluej for common package.

i will try to.