I am working on other's pc. I got a problem. I put the export sentence in the user's ~/.bashrc and root's ~/.bashrc. So when I type java -version either in user account or root account in the terminal, it works correctly. But when I type sudo java -version, the error appears, it cannot find the java. I am really confused. Is sudo different from directly using root account? How to set java environment when I type sudo in user account?
Just did a fresh install of 8.04 on wifes laptop (Inspiron 1521) as it has been a nightmare getting things to work with it's hardware and 8.04 seems to have the least issues. Did the first section of the Comprehensive Multimedia and Video Howto stickied at the top of this forum, then dled minecraft to test things out. Heres the terminal readout
I tried a lot but I can' t enable java in firefox. I' ve installed java jre 1.6.20, I created symbolic shorcut to .mozilla/plugins directory but it doesn' t work. By the way /plugins directory wasn' esixt and i created it in .mozilla dir. I use opensuse 11.2 and firefox 3.6.3.
OS: Centos 5.5_x86 I've searched quite a bit for how to set up Java environment variables with the newest java JDK. I installed java using the following commands: yum groupinstall "java development" (I need it for the application I am trying to run) yum install "java" I have them both installed however I can't seem to get java to function. The application I am trying to run requires that I set java environment variables any solutions?
i have added a tomcat startup service using chkconfig. I have set up JAVA_HOME and JRE_HOME as well ass alternatives to point to the correct location.I have an init script in /etc/init.d. When i start the tomcat service using [ /etc/init.d/<x> start ] everything works fine and the environment variables for JAVA_HOME and JRE_HOME are used correctly.Now i added the service <x> using chkconfig --add so that it can start on boot up. But now the service does not use the system environment variable for JAVA and JRE setup by me.Also after complete bootup if i try to start the service using [ service <x> start] the environment variable in the shell are not used. don't want to exclusively declare variables for JAVA_HOME and JRE_HOME in the init script.
Some files are generating in my Documents folder named hs_err_pid4214.log ........ different logs files are generated. I put the contents of one of them: Code: A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f1714b33e30, pid=4214, tid=139736470193920 JRE version: 6.0_24-b07 Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops) Problematic frame: C [libsvllx.so+0x82e30] _ZN26SvNumberFormatsSupplierObj18SetNumberFormatterEP17SvNumberFormatter+0x0 # If you would like to submit a bug report, please visit: [URL]. The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.
My firefox can't auto install java runtime evnviroment. I have try manual download at http://java.com/en/download/linux_manual.jsp?locale=en&host=java.com (Linux x64), and I have set up it follow intruction. But it is not effect. My contribution: Centos release 5.6(Final) Molliza: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:184.108.40.206) Gecko/20110429 CentOS/3.6-1.el5.centos Firefox/3.6.17
installing the software BluePad, which allows a user to control their desktop environment with a Java-enabled mobile phone. I am still adjusting to Fedora (and some other Linux distros) from Windows and I am unfamiliar with installing and executing software programs. Also, if you could also include any pre-requirements involved in the installation..
I am a newbie to Linux. I tried setting environment variable using export JAVA_HOME=/usr/java/jdk1.6 but that was not permanent (i.e is was there for that terminal session). I want to know how can i set environment variable permanently in Fedora 13 just like we do in windows.After google search, some user suggested to edit bashrc and profile file for setting environment variables but above file contains some shell programs.
I have installed IE6 [URL] On IE6 Adobe Flash Player, Adobe Shockwave Player 8.0 & Real Player 10.5 are working fine. When I tried to embed J2SE-Runtime Environment-1.5_17 by clicking 'Windows 98 & Windows ME Online'
---> 'open' ---> 'Modify' ---> 'Installation Completed' ---> 'Finish', i hoped that
everything will be fine. However, after closing the browser and restarting it I found that jre has not been installed on IE6. Incidentally the same thing occurred on debian-4.0r0-i386-netinstall.iso OS.
I am trying to install the Matlab 7.5 compiled runtime for 64-bit Linux (MCRInstaller.75.glnxa64.bin) and keep getting a "No Java Runtime Environment(JRE) was found on this system." error message.
I understand the JRE is bundled with MCRInstaller and will self-compile/install. However, I don't have admin access, could this be the source of the problem? If so, how could I fix it (not sure how to direct it to install locally without going into the source code)?
I got around this error before, but stupid me didn't write down what I did and I forgot.
If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.
Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.
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.
This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:
Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.
I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.
I use openSUSE 11.4 64 bits, KDE and FireFox 5.0. I regularly update. When trying to reach my bank, I get the following error: Code: icedteanp plugin error: Failed to run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java. For more detail rerun "firefox -g" in a terminal window. Is there anything I can do to remediate ? Does IcedTea everything that Java does?