The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
19 views

Switching from java 6 jdk to java 7 jdk…now showing for update-alternatives

Alright so i'm not sure if i'm just stupid or what but i installed java 7 jdk by doing sudo apt-get install openjdk-7-jdk and then i try to do sudo update-alternatives --config java and it only lists ...
0
votes
0answers
12 views

How can I update the text splash before Ubiquity

I am customizing a Kubuntu distribution and I am struggling to change the text splash screen before Ubiquity starts. The screen that says "Kubuntu 13.10" with dots for the progress bar. I understand ...
1
vote
1answer
23 views

Update 10.04 to 12.04

In home PC Ubuntu 10.04 installed and no internet connection. I want to update it to 12.04. i want download from my office PC (it is connected with internet) Can I download only updated portion not ...
0
votes
0answers
64 views

Problem installing old version of gcc with --remove-all

Im on Ubuntu 13.10 and need gcc 4.6 to install cuda 5.5. Im following these instructions (top answer) Anyone has successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit? but am runnning into trouble ...
0
votes
1answer
52 views

Where do I get the update-java-alternatives command. What package does it come from?

Where do I get the 'update-java-alternatives' command. What package does it come from? My understanding is that you use 'update-alternatives' to initially add a Java instance to your system but once ...
0
votes
0answers
70 views

Manual installation. Where do I start?

I have never done any actual manual installation, since I started using ubuntu 2 years ago. I'm trying to install some updates, little by little. I'm using my blackberry to download and transfer all ...
2
votes
1answer
815 views

Run different java based on command line parameter

I have multiple java installations on my machine and need to use different versions all the time. I have found that the currently used JVM can be changed by the commands update-alternatives and ...
5
votes
1answer
1k views

How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?

My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
1
vote
1answer
225 views

Duplicate entries in update-alternatives

I have two entries for vim when I input sudo update-alternatives --config editor Selection Path Priority Status ------------------------------------------------------------ * 0 ...
2
votes
0answers
433 views

Changing default GCC Compiler in 12.04

I just downgraded from 13.04, which seems to have some stability problems right now, and moved back to 12.04.LTS. I installed the GCC 4.8 compiler, which is not the default GCC compiler on 12.04. I ...
3
votes
1answer
296 views

How to use multiple instances of gcc?

I have both gcc 4.7.3 and 4.8.1 installed But on running gcc --version I get gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see ...
2
votes
2answers
5k views

set default java version

I have been using Java 6 on Ubuntu 11.10, but now I want to update to version 7. I've installed version 7 via PPA as described here. If I run sudo update-alternatives --config java I get the ...
1
vote
0answers
132 views

How do I update alternatives to use sendmail?

this is an expansion of my question: Linux mail command not working like it used to which I would considered answered but I need a little more clarification. In my previous question I learned that ...
0
votes
0answers
531 views

I can't switch from OpenJDK's Java 7 to Oracle's via update-alternatives

x5ives@aperture:~$ sudo update-alternatives --config java [sudo] password for x5ives: There is only one alternative in link group java (providing /usr/bin/java): /usr/lib ...
1
vote
2answers
343 views

Chromium doesn't show up to be selected as default browser

I installed Chromium, but can not select it as my default browser. Where does Ubuntu keep the list of applications shown in this menu? I use Ubuntu 12.04 with Unity as my environment. I also tried ...
0
votes
1answer
129 views

why doesn't the standardized way to change default terminal work?

Why doesn't: sudo update-alternatives --config x-terminal-emulator Work to change the default terminal in 12.10 ubuntu-one nautilus? I find it confusing.
3
votes
2answers
4k views

update-alternatives: “alternative path doesn't exist” issue while updating JDK7

I decided to update my JDK7 to recent version from here. Corresponding x64 tag.gz archive for my architecture has been downloaded and extracted to /usr/lib/jvm as usual. All previous versions of Java ...
2
votes
2answers
1k views

Set emacs -nw as default editor

When editing files like sudoers, I want to use emacs instead of nano. So I ran this command sudo update-alternatives --config editor And I selected emacs. The only issue is I like emacs in no ...
20
votes
1answer
10k views

What exactly does `update-alternatives` do?

What is the command update-alternatives used for? Take this example: sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre1.7.0_09/bin/java 1 What does it do? How is it ...
2
votes
1answer
157 views

Why doesn't java -version return anything with Oracle's JRE 7?

I've been following these steps and got up to the check version of new JRE installation part but java -version doesn't return anything. I have run sudo update-alternatives --install /usr/bin/java ...
0
votes
1answer
1k views

Java problems installing Glassfish 3.1.2 on Ubuntu Lucid

I'm trying to install Glassfish v3.1.2 on Ubuntu 10.04 by obtaining corresponding .sh from Oracle website and running sudo ./glassfish-installer-file.sh. However following error appears: Could not ...
3
votes
2answers
225 views

Two equal items in alternatives list

I want to have two JDKs. The first one was installed a long time ago to /usr/lib/jvm/java-7-oracle/. I installed the second version and executed following commands to add it to alternatives: ...
8
votes
1answer
689 views

What's the difference between x-www-browser and gnome-www-browser?

What's the difference between x-www-browser and gnome-www-browser? I came across it here: Setting the default browser when update-alternatives fails.
3
votes
2answers
10k views

How to use GCC 4.7 in place of 4.6?

So I'm working on a project and I wanted to use some C11 features for C. To use those features GCC 4.7 is required, so I went to synaptic and looked up 4.7, and I found the packages gcc-4.7-base so I ...
1
vote
0answers
983 views

How to force update-alternatives to update jdk?

I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java For some reason this doesn't seem ...
1
vote
1answer
107 views

Errors when apt-get upgrade

I recently updated an server from 8.04 to 10.04, the update ran basically flawlessly, but now every time i use apt-get I get strange error messages. :~# apt-get upgrade Reading package lists... Done ...
0
votes
0answers
23 views

Could not update Ubuntu 12.04 [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? While I was trying to update Ubuntu 12.04 I am repeatedly having problems showing ...
0
votes
1answer
556 views

Install Ruby Ubuntu With update-alternatives Command [duplicate]

Possible Duplicate: No ruby alternatives on 11.04 / 11.10? I have 2 questions about ruby on ubuntu. I've already install ruby1.8 and ruby1.9.1 on ubuntu lucid but when I run ...
1
vote
2answers
665 views

How to add a link group to update-alternatives?

Edit: Solved, see resolution below Is it possible to add a custom link group to update-alternatives that is not already there by default? For example, I want to add Scala and all its supporting ...