Software :: Ubuntu 10 - Making Java To Use More CPU
Mar 21, 2011
I run a java program I called it craft.jar the ram it uses is good but it times its cup usage will spike and ill have issues, I have ubunto 10 opendjdk6 64 bit everything and 6 2.00Ghz Xeon cores. The ave load on all cores is 2% but when I get heavey with my java program use only to on the cores will jump to 90-100% usage and the outheres will stay at 2%. How do I force the program to run on 5 of the 6 cores to lessen issues with spiking? I use this to start my java program
Code:
#!/bin/bash
cd "${0%/*}"; java -Xincgc -Xmx2G -jar craft.jar
View 6 Replies
ADVERTISEMENT
Jan 31, 2011
I'm trying to install a program which requires Java VM. The installer is a install.bin file, coming with a eclipse folder; in this folder, you can find a "jre" directory. I also installed Coconut Java virtual machine, as well as OpenJDK Java 6 runtime environment. However, I still can't install the program. Executing the installer gives me this error message:
Code:
Preparing to install. Extracting the installation resources from the installer archive. Configuring the installer for this system's environment. No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. I think I should make Java VM available to the installer somehow, but I don't know how. I tried searching online but couldn't figure out the answer. Please help.
View 6 Replies
View Related
May 30, 2011
I downloaded Java from the Java website, and went into the root to try and make it an executable file, and it says "chmod: cannot access `home/Non-Admin/Downloads/jre-6u25-linux-i586-rpm.bin': No such file or directory". Is there some sort of program I can install that will automatically turn the rpm.bin/.bin into an executable file?
View 8 Replies
View Related
Jul 26, 2010
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
View 4 Replies
View Related
Feb 18, 2011
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.
View 9 Replies
View Related
Jan 28, 2011
How to install java and firefox java plugin on Ubuntu 10.10?
View 2 Replies
View Related
Jun 13, 2011
I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
View 5 Replies
View Related
May 29, 2011
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.
View 8 Replies
View Related
Feb 18, 2011
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.
View 13 Replies
View Related
Jan 19, 2010
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?
View 3 Replies
View Related
Jan 29, 2010
Do Windows XP, Vista, Windows 7 and all Linux distributions have Java JRE installed so end-users don't have to install it to run Java applications?
View 4 Replies
View Related
Apr 5, 2010
After upgrading java (jre) to 1.6.0_19, the java plugin no longer loads into Firefox. All the rest of my plugins from /usr/lib/mozilla/plugins/ load fine.Java can be a pain such a pain the neck!
View 8 Replies
View Related
May 1, 2010
I have installed CENTOS / PHP 5.1.6 / JAVA 1.5.0_20. Now i want to install JAVABRIDGE for PHP and JAVA title should list in the PHP_info page.
View 1 Replies
View Related
Aug 26, 2010
If I want to install Java on Ubuntu: which Java version should I take?
OpenJDK or Sun Java ?
What is mostly used on Ubuntu?
What are the pros and cons?
View 1 Replies
View Related
May 6, 2011
I would like to install JRE-6u25 on ubuntu.
When I go on the website I see only RPM and another download called:
linux self extracting. The file name for this one is: JRE-6u25-linux-i586.bin
It says to restart the browser after install.
I want to install java to play minecraft. I'm having some speed issues using openJDK.
Would the self extracting file work for minecraft standalone? (I tried playing in a browser without success).
Is using the self extracting file the same as using say the RPM?
View 1 Replies
View Related
Jul 10, 2011
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?
View 4 Replies
View Related
May 22, 2011
How can i set java sun primary instead of java jdk without uninstalling the jdk in suse 11.4?
View 8 Replies
View Related
Feb 23, 2011
i try to open a java app, the launch proceeds as far as the final stages, but then stops to do the final sequences showing the error msg listed above.
View 3 Replies
View Related
Mar 4, 2011
I'm trying to install java 1.7 but every time i install java it gets 1.6.
Does anyone know how i can get 1.7
View 7 Replies
View Related
Oct 21, 2010
Last nights upgrade of java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 prevent the loading of Ameritrades Command Center.Downgrading to version 1.6.0.0-37 fixes the problem. I'll post the bugzilla number as soon as I get the chance to file it.
View 3 Replies
View Related
Jan 18, 2010
I have a local mirror at my server. How I can create mirror on DVD's for people without network connections?
View 1 Replies
View Related
May 2, 2010
I want to make an iso for some friends [and maybe friends of friends] that aren't all that tech savvy, so I want to change a few things to the original Lucid iso. First, I want the option to install Lucid out of the boot menu [but the other options should ideally stay]. Second, I want to include the ubuntu-restricted-extras so they can immediately try it out and see that it also plays video/audio etc.
View 9 Replies
View Related
Sep 26, 2010
I'm running relatively overpowered server right now, that all it really does is host files and download movies/music that I might enjoy. I'm just seeking to expand it's capabilities to make life in the house more simple. The first thing I'd like to do is create a kind of automatic grocery list generator concept. Here's how I envision it working.
We create a list of recipes for meals we enjoy, specifically an ingredient list. From this list, we create bi-monthly meal lists; what do we want to have for the next two weeks. The server chews through the two lists, compiles a list of ingredients and how much of each we'd need.. and emails this off to our smart phones for us to refer to while shopping. What equipment do I have? I have a headless Ubuntu server running 10.04 and administered via a GUI and NX Client. Two blackberries (both 9700 Bolds) as portable smart clients that would need to at least receive the list, tho ability to add in would be great.
Home network is a mix of wired and wireless, so no issues there for connectivity. So why post this here? Because I'm at a loss as to the software/configuration part. Doing an automated email daemon is easy to send the list out. And a list of recipes or such is easy to get (dozens of cookbooks in the house, plus a small army of them available online).. the issue I'm having with is how to create/manage the database. I'm not familiar with SQL or any database programming at all. Is there something akin to this already in the repositories? Or is there someone who could point me in the right direction so I can do this?
View 2 Replies
View Related
May 29, 2011
Is it possible to disable the run/display/cancel dialog just for some selected files and keep it for others? I want to be able to just click on some files which would run them instantly yet still being asked what to do if I click on other files. Say, launching files a, b & c would make them execute but launching files d, e, f and all others would pop-up the dialog asking me what to do. So can it be done?
View 6 Replies
View Related
Jan 12, 2011
to making the custumized ubuntu what steps doi need to follow 1)i have kernel 2.6.36 what next step do i have to do?
View 2 Replies
View Related
Jan 27, 2010
I have managed to make ubuntu (9.04) turn itself on from being completely off with the following code:
Code:
sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
sudo sh -c "echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm"
[code]....
View 5 Replies
View Related
Jan 29, 2010
I'm coming from windows and now I've switched to ubuntu. I find firefox 3.5 (and now 3.6) very hard to read. I'd like to have the same font rendering on my ubuntu than on my windows xp, using internet explorer with cleartype enabled. I've searched A LOT on Internet, tested like 20 different .fonts.conf. However I still can't get what I want. Take a look at my screenshots :[URL]
On the left : ubuntu (Firefox 3.6) - on the right : XP (Internet Explorer I'd like to have the same fonts than on the right.
Picture "enabled.png" is the closest display I can get. But it's still not perfect.
I took the .fonts.conf from this site : [URL]
I've also tried the fonts from the site [URL]Look here : [URL](this one is different : IE8 is on the left)
My fonts config in firefox is the same than on windows (Times new roman, arial, courrier new). And of course I've installed the ttf mscorefonts package.
I don't say that IE is the best thing in the world It's only because I've used it a lot and now it's hard to browse sites with different fonts.
View 9 Replies
View Related
Feb 14, 2010
i recently installed crunchbang to try it out, but it made it the default os on boot. how do i make ubuntu the default again?
View 9 Replies
View Related
Apr 4, 2010
yeah first time ever being on ubuntu os. i got 3 going on one pc but only one partition is making static noises coming the speakers and its kinda loud. any ideas why?? its only happening to one partition so im clueless to whats going here...to be more descriptive its like a constant sssshhhhhhhhhhhhhhhhh or same as a radio being off frequency
View 6 Replies
View Related
May 2, 2010
I just upgraded to the newest ubuntu. Everything worked great before but since I upgraded, it asks me to relogin over and over again when I go into hotmail. I had to use a different computer just to get into my hotmail to verify my new account here so I could ask about this. It will repeat over and over making me log in but i won't even spend anytime in my email.
View 9 Replies
View Related