Tag Info

New answers tagged

0

It is not as complicated as the other answers make it out to be. You have to add the manual installed java to the alternatives list, then switch to is: (replace jdk1.7.0_79 with your version) sudo /usr/sbin/alternatives --install /usr/java/jdk1.7.0_79/bin/java 20000 sudo /usr/sbin/alternatives --config java


0

At the moment, icedtea-8-plugin is not available in the official Ubuntu repositories. Maarten Fonville offers a PPA repository with a working icedtea-8-plugin package. sudo add-apt-repository ppa:maarten-fonville/ppa sudo apt-get update sudo apt-get install icedtea-8-plugin Bug report: https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1385842 ...


0

Could you please try to run with arguments without quotes? It works in my case: svyatoslav@svyatoslav-DNS:~$ sudo update-alternatives --config java [sudo] password for svyatoslav: Есть 4 варианта для альтернативы java (предоставляет /usr/bin/java). Выбор Путь Приор Состояние ...


0

I ended up solving this by replacing the version of Java that I had downloaded from 32 bit to 64 bit


0

You need to set up CLASSPATH in /etc/environment. Execute the following command in a terminal (Ctrl+Alt+T) sudo gedit /etc/environment Add the following lines (all four lines at the end of /etc/environment) JAVA_HOME="/usr/lib/jvm/oracle_jdk8" export JAVA_HOME CLASSPATH="/usr/lib/jvm/oracle_jdk8/lib" export CLASSPATH Alternatively you can add ...


0

It is normal that you have to add a library to a project in an IDE. How should an IDE else know which version od a library you want to use.


0

It isn't PPAs that are unsafe, it is the stuff inside that can make them unsafe (more here). I use the PPA you linked to run Oracle Java myself, rather than install it every new update, and it is a reputable source for many people. If you want the easy, and in this case, safe way, feel free to follow the guide you linked to add the PPA, otherwise follow the ...


1

I have been using that webupd8 PPA for a long time, and it has always worked fine for me. Look at this similar question/answer For your general question about PPAs... Using PPAs is a fact of life for many 3rd party software apps in Ubuntu. There is nothing inheritely wrong/bad with it at all. Of course, it's always best to stick with the supported ...


1

The following worked for me (I had the same problem), I hope it works for you, I got the instructions for other packages with the same error: Make a backup of /var/lib/dpkg/status with: sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.bkup Then open /var/lib/dpkg/status with: sudo nano /var/lib/dpkg/status and search through the file for any reference ...



Top 50 recent answers are included