Java install on Ubuntu?
Solution 1:
Try typing java
then pressing tab, it will type the rest for you to ensure there is no mistake. Although to install Java, you're doing it the hard way. You can use:
sudo apt-get install sun-java6XX-bin sun-java6XX-jre sun-java6XX-plugin
where XX is the current version number in the repositories, likely current. Although I'd recommend the following command:
sudo apt-get install ubuntu-restricted-extras
I'd suggest running this on any new Ubuntu machine that you intend to use as a desktop, it installs a bunch of stuff for:
Audio
- Ripping CDs
- Converting your audio files and video to open formats
- Using the iTunes Music Store
- MP3
- Playing or ripping CDs to AAC (.m4a) files
DVD
- Playing DVDs
- Ripping DVDs
- Playing Blu Ray and HD DVD
Web
- Playing Flash
- Adobe Shockwave No native version.
Video
- Streaming Video
- HelixPlayer
- Realplayer
- Smil
- Apple Quicktime and RealVideo
Other
- Java
- Installing popular fonts
the actual packages installed:
cabextract flashplugin-nonfree gsfonts-x11 gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse jackd java-common liba52-0.7.4 libavcodec1d libavutil1d libcdaudio1 libdvdread3 libfaac0 libfaad2-0 libfreebob0 libgsm1 libid3tag0 libjack0 liblame0 libltdl3 libmad0 libmjpegtools0c2a libmms0 libmp4v2-0 libmpcdec3 libmpeg2-4 libqt3-mt libquicktime1 libsidplay1 libsoundtouch1c2 libx264-54 libxvidcore4 msttcorefonts odbcinst1debian1 qjackctl sun-java6-bin sun-java6-jre sun-java6-plugin unixodbc unrar
Although keep in mind the legal issues regarding patents.