Linux (Ubuntu) is not providing any updates for Java Runtime Environment! According to what I find on my computer, I have Java build 1.6.0_15-b03. Ubuntu Software Center is indicating 6-15-1 (sun-java6-bin). I have manually downloaded JRE 6u17 and 6u18 from Sun. However, I have not - as yet - attempted to install/update Java myself. First, why isn't Linux providing us end-users with the updates as they are published? I thought that, for the sake of ensuring "STUFF" is up-to-date and SECURITY reasons, that the (or some other place) would be providing updates as they occur. I have just started Ubuntu - my ranking - "kindergarden at best"! I still have not been able get the "handle" on the "command line (codes)" structure and usage. I am so use to the Windows way of installing, updating, and upgrading software that Linux (Ubuntu) is causing quite a bit of consternation; just plain frustrating and confusing! I have been trying, and seeing, so-called instructions of how to install/update Java but there are just too many "assumptions" being interposed by the author(s). I just wish, and want, straight forward, step-by-step instructions in the "how to" department - written in plain language, for the complete novice (brand new to Linux). So, here's my question ... how do I manually update/upgrade (or install) Java RE on Ubuntu? Do I have to remove, add, change anything? I'm sure that there are others in the Linux world that are in need of some straight forward assistance. I want to continue using my Ubuntu and honestly, would like to be more proficient in it's use. But in the meantime.
Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
When i was trying to install java through the terminal the OK button was not active after reading the software disclamairre! all it said that it was still configuring java!
i have an Acer Aspire One running Linpus Linux Lite v1.0.21.E and i am having issues with installing Java to the point where it's driving me mad. I want to play Runescape, but the aplett does not initialize. Ive seen numerous guides on how to install it but none of them are clear enough! I am new to Linux so its hard . Could somebody please explain, in depth, how to install Java and get Runescape Working
I decided to finally give it a try last night and made a Live USB for Slax. It booted up quickly, pretty much everything worked right away, and after getting the Wifi working I decided to call it a night.
My project for today was attempting to install Java, but I haven't had much success. There are modules on the Slax site for this, but a. they are unverified and b. I want to delve into linux further than just downloading everything off a website. I downloaded the latest Java package for linux, which was a self-extracting .bin. I followed steps 1 through 4 here, but step 5 didn't work. I got the error message
Quote:
Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu). inflating: jre-6u20-linux-i586.rpm error: db4 error(2) from dbenv->open: No such file or directory error: cannot open Packages index using db3 - No such file or directory (2) error: cannot open Packages database in /var/lib/rpm
I then tried using the rpm -UvH command on the rpm file, but got the same error. Knowing that Slax modules are .lzm files, I used rpm2tgz and tgz2lzm to convert it to a module, but it still doesn't work. I'm hoping that someone can point me in the right direction, other than "Download this unverified module from the Slax site."
In addition, a problem I haven't encountered yet but is foreseeable: In those instructions that I linked above for downloading and installing Java, the "Enable and Configure" section requires altering parts of the Firefox install directory. However, since this is Slax, Firefox is in a module. To do that part, do I have to use lzm2dir in order to get into Firefox's innerworkings, or what?
I have just bought a used Asus Eee pc 2g surf. I travel a lot and the Asus fits my needs on travels, but i have serious problrms installing java. I have never used Linux before. I have manage to download java and open and accepted the licens. The problem now is to go further and get it to work. I don't know Linux and wher to go ind and give the right commands to link Java to Mozilla. I have read a lot about how to do it. It is so easy they say but for me it is not. I dont know where i am going in, program to open. I have struggled for a week now.
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
After installing ubuntu 10.4 I tried to update but it caused some error as reported as follows. I have already tried to googling the solutions but it seems that there's no right one for me.
When I try to update my packages, or install new packages, I get this error:"E: /var/cache/apt/archives/libglib2.0-0_2.26.1-0ubuntu1_amd64.deb: subprocess new post-removal script returned error exit status 1"I tried the "sudo apt-get install -f" but it didn't work.I'm running 10.10, on a Asus laptop
I saw this post [URK] and I'm having the same problem up to the point of installing/updating aptitude. Here is the background: I logged in and just recently added another monitor and used Multiple Monitors from the software downloader to manage them. Last night they worked great and I was using the extended desktop. When I logged in this morning they were cloned and I couldn't get the buttons "clone or extend" to not be grayed out. I couldn't have cared less since I was just logging on to check email and things so I looked around for a second in the settings and was sidetracked by the display/window options. I was scrolling through the different themes and colors and then all of a sudden BAM! back to the login screen. I was using the arrow down key to scroll and like I said, immediate toss to the login screen. I made O.o? that face and tried to login and then I kept getting kicked back the same as the post I linked above. So...
I press ctrl+alt+f2 and log in. I see Welcome to Ubuntu! back to the aptitude step, when I run sudo aptitude update && sudo aptitude reinstall gdm I return sudo: aptitude: command not found. So when I do: sudo apt-get install aptitude I return E: unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I just installed Ubuntu last night parallel to windows vista ultimate (no problems). My biggest problem is that when I tried to install the nvidia display drivers, I somehow downloaded a server based driver (and am having amazingly difficult problems). I use a dual monitor set up (both are plug and play LCD displays) and i'm not too worried about aesthetics but rather, performance. I downloaded the correct driver but now I don't know how to install it. Is there a way to uninstall this server driver?
I updated my system to the latest version - 5.5. After that I could not install VirtualBox. I was thinking, trying to fix, googling... it over for hours... Finally I found the reason. VirtualBox installer searches for the source kernel at /lib/modules/2.6.18-194.17.4.el5/build, and it can not. Look into /lib/modules, I have some kernels such as:
- 2.6.18-194.17.4.el5 - 2.6.18-194.17.4.el5debug - 2.6.18-194.17.4.el5xen ... and more old ones.
At that time, I booted on 2.6.18-194.17.4.el5 kernel. But inside that directory, there is no build or source (directory/ file). Then I looked into 2.6.18-194.17.4.el5debug, and it had. So I typed: ln -s /lib/modules/2.6.18-194.17.4.el5debug/build /lib/modules/2.6.18-194.17.4.el5/build
After a recent installation and update I am having problems connecting to the internet even after following the steps in [URL]... Configure a network card in Suse/openSUSE...." It doesn't always connect when I boot and there is no connection icon on the panel nor the KDE desktop. Can someone assist me with this problem?
I wanted to install Java so that I could play the popular game "RuneScape" on my Ubuntu system, but I followed the steps posted on the website and it said something like "Extract using the console" and gave me the name of the object to extract, but it did not say anything about what folder or anything, so the system did not know where to extract from.
installing java 1.4.2 JDK on 64-bit 10.04? I can't seem to find a whole lot about this anywhere. I've tried downloading the .bin from sun's archive site [java.sun.com/products/archive] but I get this error when running it:
I've been trying to use my work's SSL VPN. It uses Juniper Network Connect. I attempted setup from the VPN website and it would not install. As I later found out, this is due to the fact that it asks for the su password and Ubuntu doesn't use one.
I stumbled upon this link and script, which seems to be exactly what I'm looking for: http://mad-scientist.net/juniper.html. I tried to run the script and run network connect, but the script's setup needs a jre directory for 32 bit Java. Is it possible to install 32bit java on a machine running a 64bit operating system? If so, How can I go about doing this?
Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.
first of all why its not working from any other place? also why do I need to give ./ from the folder?
I am having problems installing Java runtime on karmic. The problem is: jre depends on the bin, and the bin depends on the jre package... Anyway to solve that? Should I try forcing? I can't get Ubuntu to connect to the internet, so I downloaded the deb packages and put them on a USB stick.
I tried many terminal commands etc all did not work. Second tried the Ubuntu software download found java only to see there is no install button for some reason..
I had this issue with Fedora Core 13, so I switched my laptop back to OpenSuse and continued to have the problem. I can do a host lookup for software.opensuse.com and I get a correct response ... Code: linux-edxs:/etc # host software.opensuse.org software.opensuse.org has address 195.135.221.150 linux-edxs:/etc # host download.opensuse.org download.opensuse.org has address 195.135.221.134
Firefox works. Thunderbird finds my mail servers just fine. SSH works. But then when I try to do anything involving software updates or installation, I get ... Code: linux-edxs:/etc # zypper update Retrieving repository 'Updates for openSUSE 11.3 11.3-1.82' metadata [] Download (curl) error for '[URL]': Error code: Connection failed Error message: Couldn't resolve host 'download.opensuse.org'
I've seen others here post queries about this, and I'll tell you what it was in my case: our DSL modem's DHCP server returns its own IPV4 address as the DNS server. When I looked at /etc/resolve.conf, I saw "nameserver: 192.168.50.254" on the last line -- the IPV4 address of our DSL modem. I manually inserted "nameserver" lines for our ISP's two actual DNS servers, and everything magically started working. Why this should confuse some software under Linux, but not other software, is a mystery. It also seems to be Gnome-specific (I didn't have this problem with OpenSuse 11.3 and KDE 4).
Ask if they're using Gnome, and ask them to check resolve.conf. A lot of DSL modems and home/small office routers return their own IP address (i.e., the same as the gateway address) for the DNS server on a DHCP query. The solution is to manually edit resolve.conf and put in your ISP's DNS server addresses manually. Incidentally, just my opinion, but Network Manager needs to make this an option. Under Windows, for example, you can select "automatically assign DNS" or you can enter them manually, even if you're using DHCP. It'd be nice if Network Manager permitted that.
I want to install sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh in my ubuntu 9.10. during installation it asked me to enter jdk path. I entered : /usr/lib/jvm/java-6-sun . But it showed me: Enter a path to the Java 2 SDK: /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-6-sun/jre Testing /usr/lib/jvm/java-6-sun/jre... /media/ALL-Backup/soft/linux/java_wireless_toolkit/sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh: 412: /usr/lib/jvm/java-6-sun/jre: Permission denied /usr/lib/jvm/java-6-sun is not a suitable Java interpreter Enter a path to a Java 2 SDK (For example: /user/jdk1.5/bin). You can type "exit" to cancel installation.