Ubuntu :: Having Multiple Versions Of Java Running On The Same Computer
Feb 4, 2010
The main problem is that the software was developed about 15 years ago and is incompatible with the most current version of Java. I would like to know how to install an older version of Java so that I can use it with just this one application, without changing the version of Java that I use for everything else.
My friends computer is extremely slow with all versions of kubuntu. Its very slow to boot, very slow to load applicatons, very slow to switch between windows, very slow to do anything. I can't think of what would be causing the slowness, its not new, doesn't have any fancy hardware AFAIK, but it runs XP perfectly well, its probably a 2.0+ghz pentium 4 processor. Do you think it could be a kernel chipset issue? Or perhaps a graphics driver/window manager issue? I don't know what the hardware is, is there a command I can run to list all the hardware?
I can't seem to be able to get Java working on my computer which is running Ubuntu 9.10 and firefox 3.6. I have followed instructions to download Java and when I restart firefox there is no Java plugin and it does not appear to be installed.
This may sound stupid but I've got to ask. Can I connect multiple computers running Ubuntu & run software from one computer from the other? I know how to connect using SSH & to copy files back & forth but I don't know how or if I can share programs.
I have been at this for awhile and i need to know which direction to go to enguage this problem.I am trying to get jnlp files to open automatically in chrome / firefox. Before you flame me, i have followed the instructions on the above "handy yellow link" to get java installed and set up.My goal is to click on "draw" at this link and have it open and run automatically in Chrome. [URL].. Nothing seems to happen when i click the link. From what i understand, i need jre 1.6. I sucesfully installed it from:[URL]..
I ran the alternative commands in the "handy yellow link" and selected 1.6. When i run "yum install java" i get the output: Package java-1.5.0-gcj-1.5.0.0-32.fc13.i686 already installed and latest version Nothing to do Probably just an alternative command that i'm unaware of, but i cant find a simple fix.
I'm using latest Ubuntu version 10.10 and I want to try Firefox Beta, but don't want to replace the one I;m using now which is 3.6.13.
I have downloaded Firefox 4 Beta andd extacted file to a /Home Folder/(My username)/Firefox 4 (Beta)/
and I wen to that folder and clicked on the Firefox link bu version 3.6.13 came up. in another window. Do I have to close Firefox ad re open it or do I have to do something else?
I have installed GCC 4.5.1 using senaptic. But typing gcc in any terminal still calls the older version of gcc. I see that in /usr/bin gcc is a link to the older gcc. Would it be OK to replace that link with the new one poiting to the newer version of GCC?
I have a dual boot desktop with WinXP on C: and Ubuntu on D:. GRUB 2 handles the start-up. Having installed multiple updates to Ubuntu, my GRUB menu now lists:
and (recovery mode) for each of the above, along with the mem test and WinXP.Is there any reason I need to list all these variants of Ubuntu? If not, can I simply edit them from the GRUB config file or must I do something else to actually uninstall them?
I am not sure if this is the right section to ask this question (sorry if it isnt). Anyway, I want to build and install 3 different softwares:OpenCV, Player, Stage. These are required for my school projects and research etc. Now, I need to install them in this manner: Opencv-2.0.0, player-2.1.3 and stage-2.1.1 and Opencv-2.1.0, player-3.0.1 and stage-3.2.2
The reason for this is, these are the sets of versions that talk to each other without problems. And I need the older versions for a project that I'm currently working on and its always nice to have the newest version installed on the system. If its only a single version install, its pretty easy and I can do it.Since I want to install multiple versions of the same software I could use some help. I am not sure whether I can install all of the them in the default directory (/usr/local/). So, I can set up a separate directory on my home folder. But thats as far as I've gotten to. I am particularly concerned whether one version would break another. Is there anything that I can do to avoid this?
On my lenny+backports+debianmultimedia desktop I see two annoyances. 1st: There are multiple versions of same packages. But while attempting to remove the older versions I see apt-get is removing some essential packages. Is there any way to kill this duplicacy of packages? Here is a list of packages whose multiple instances are installed:
For my work it is extremely useful to have multiple versions of gcc available. I've done this in the past under Ubuntu simply by enabling alternative or older repositories but in Fedora land I've not been able to find a standard automated way of doing this. Can anybody point me in the right direction?
When I turn on my computer, because of frequent updates it will display several versions of Ubuntu 10.10 that I can choose from. I wonder if it is possible to delete some of the older versions and how. I think having several versions of Ubuntu uses up a lot of space in the hard drive.
Some times i need the older version of some packages in my system...side by side with the new one.i.e mostly i found older version openssl package for supporting dependency of some programs Can I keep the following libraries at the same time in my system by installing multiple versions of openssl?
I do quite a bit of testing of a FOSS package, which I install from rpm. At any one time there may be 3 versions ( current release, new release candidate, and snapshot of trunk) that I wish to test. If I stick to normal naming conventions (i.e. current release fred-2010.0...rpm, release candidate fred-2010.2...rpm, and trunk fred-2010.3...rpm) it seems to me that I can only have one version installed at any one time. Is there a 'proper' way of managing this (using the package manager), so that I can have multiple versions installed at any one time?
I want to have 2 diffrent versions of a package installed at same time. This is the command i use "apt-get install myprogram=versionID" Problem is, that when i install the version i wanna add, it REPLACE it with the old I dont wanna replace, i wanna keep them both.
I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName
...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname
this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.
I have a page which is going to be internationalized, and available in more languages. It contains PHP scripts to load, let's say, current user's data from database and the internationalized content itself, like "Welcome user" message. The problem for me is the fact, that internationalized content is not continual, and it's all over the page mixed with php scripts.
I don't want to use eval(). I've got 2 , they are, however, not good enough. 1. One file per language version, with scripts included - there will be many languages, so there would have to be many files with redundant data. Also if I wanted to change structure of script, I would have to change it in all pages. 2. Load international data from db, while scripts are on the page - not sure about good database structure I mean, how would I get the right content from database? (content would be split into rows, columns, or something?)
I'm missing a fundamental that I just cant seem to wrap my head around with setting up repositories with RepoSync. I set up a local repository when my system was running version 5.2. Everything ran like a top up until the release of 5.3 Upon release I ran the standard yum on my 5.2 server which upgraded it to 5.3 and thats where my mental block is catching me up.
When I run a reposync It seems that all I'm able to download is the 5.2 packages. I'm trying to figure out how I can manage both a 5.2 repo along side a 5.3 repo with reposync and figure out what needs to be done to properly make reposync pull down the latest updates for the newer version. My original thinking was that once my repo server was upgraded to 5.3 it would start pulling the 5.3 updates but obviously I'm way off base since that is not happening.
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
I just did an upgrade from 8.04 to 9.04 and i'm loving it. I just need to get Java working so I can use ..... and stuff like that. I installed OpenJDK and the plugin but I can't figure out how to get it to work in Google Chrome or even Firefox.
I would like some help to run sql queries in Ubuntu. For a school IT project, we must write a Java program that runs queries. Seeing that I'm going away on holiday and will be away from my Win7 desktop, I will have to work on my Ubuntu laptop. When I run my program, I get these two sql exceptions:
Code:
sun.jdbc.odbc.JdbcOdbcDriver No suitable driver found for jdbc:odbc:ITPAT2010
Note: it is not my program that is causing the problem, since it works fine on Win7. But here's my code anyway:
Code:
void OpenDB() { System.out.println("INTO BRIDGE"); String url = "jdbc:odbc:ITPAT2010"; //JOU BRUG SE NAAM
[code]....
I believe the drivers that handles the connection to the database aren't installed. The format of my database is: *.accdb (was created on Win7 using Office 2010). I can't open this file, probably because I have no database programs installed?
I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links [URL] and [URL]. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this
$ java -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac HelloWorld.java Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ java HelloWorld Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
When I run a java application (minecraft) the computer occasionally freezes. I'm not sure which version of Java I have. The online java app for telling you which version I have says that I have an old version. The command line says I have an up to date version. If I need to update Java Sun , how do I do it ? I followed the instructions once and didn't work.
I've purchased a couple of books so that I can begin to learn JAVA. Finding recent editions is very challenging, so the books I found cover JAVA 5.0. I plan to go through all of the exercises in both books. Which version of Java should I have installed on my computer?
Should I install 5.0 so that the examples from the book will work perfectly? Will I run into confusing situations or problems if I try the example exercises using Java 6?