Ubuntu Servers :: INstaling Java Apt Get For It - Use Wget
Jan 18, 2011i don't know if there is an apt-get for it or if i need to use wget
View 1 Repliesi don't know if there is an apt-get for it or if i need to use wget
View 1 RepliesThis is the code i used, there is no error in execution but no file is bein saved in the working directory. I'm new in java,so just started learning.
public class Hel
{
public static void main(String args[])
throws IOException
[code]....
I've had great success in the server forum when I installed Ubuntu Server 9.04 on my old G5 Mac tower. I have it running successfully, but now need more hard drive bays and would like to switch it to a 1st gen Intel Mac Pro. The problem is, when I start it up, I get the wonderful flashing folder with a question mark, and if I hold down option as its starting up I never get the folder, but the screen just stays gray/white and I can move the mouse around. Is there anyway for me to install it so it just has ubuntu server on it, or do I have to put osx back on first to do it?
View 3 Replies View RelatedI know that wget will give up after 20 failed connection attempts, but is there any way I can escape without waiting?
View 1 Replies View RelatedI was wondering if there's a way to use wget to download the same file from multiple files (like DAP or other download acelerators for windows).
View 4 Replies View RelatedI want something stable,tested(not buggy like ubuntu) , easy/automatic configuration(like ubuntu) , and of course should have the option to install the mbr on partition.I know its possible. I just want to know which distribution would make it easy.What I want is to install linux on a separate partition without installing any bootloader like grub onto my MBR. Instead I want to use the already installed xp's bootloader.I think debian's w32 installer works like this. But it is giving me a hal.dll not found error.
View 14 Replies View RelatedIf a wget download is interrupted (like if I have to shutdown prematurely), I get a wget.log with the partial download. How can I later resume the download using the data in wget.log? I have searched high and low (including wget manual) and cannot find how to do this. Is it so obvious that I did not see it? The wget -c option with the wget.log as the argument to the -c option does not work. What I do do is open the wget.log and copy the URL and then paste it into the command line and do another wget. This works but the download is started from the beginning, which means nothing in the wget.log is used.
View 2 Replies View RelatedWell, its easy i will put an screen shot of my problem xD, the menu bars disappeared, i can enter the archives and use programs, anyone know how to fix it?
I have ubuntu 10.10
post if you need more info
o.o well it got fixed somehow
delete this post
what are the steps taken befor instaling ubundu in sata HDD
View 3 Replies View RelatedI intend to develop a game using Java. I will need a dedicated server for running the server side code for clients to connect to.
For ease of development I was hoping to use an old PC sat next to my desktop to run as a server.
I have downloaded the 32 bit server platform (all the CPU will allow on this machine) and put it on a USB stick and can run it and it all works ok. When I get midway through the installation I get to a screen that asks me to 'Choose software to install', I was just wondering if there were some choices that I should make here. For instance I will be using MySQL, Java etc...
I am persisting on with an installation for the moment but I will be able to reinstall everything again if necessary.
I am trying to install the Sun Microsystems Java Runtime on my Ubuntu Server 10.10, but it is telling me that it is not available. I have researched online and it tells me that it is a part of the multiverse repository. I have not had very much success in activating this either.
View 1 Replies View RelatedI have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram
How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar
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 http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. 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
[code].....
I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)
I install Tomcat:
Code:
sudo apt-get -y install tomcat6
I set up a bit of configuration in /etc/default/tomcat6:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I can start Tomcat with no problems:
Code:
sudo /etc/init.d/tomcat6 restart
However, if I add the -server option into the JAVA_OPTS variable, like so:
Code:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I get this:
Code:
$ sudo /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
Invalid option -server
Cannot parse command line arguments
How do I set the -server option correctly?
Is there a proper way to install 32-bit Firefox 3.5.11 with Sun Java 1.6.0 on 64-bit Lucid 10.04 Ubuntu? I want to run VMWare guest on Lucid and 64-bit Firefox 3.6.9 has issue with VMware.
View 3 Replies View RelatedI'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 RelatedI've a big issue using unoconv to convert Office docs in PDF format from a PHP script.It works perfectly when I run the script or the unoconv commands as root, but it fails the second I do the same from web (through apache and www-data user) I have installed Ubuntu 10.04 Server 64bits, openoffice.org and unoconv packages have been installed via apt-get (re-installed today). I think openoffice is version 3.2. Here is a command line that is called by exec() PHP command :
Code:
/usr/bin/unoconv -f pdf /home/www/framework/files/volume_0/document/original/1278613446MWEwwT4k.ppt
[code]...
I can't seem to be able to save a file properly with java on the sheevaplug (ubuntu)
Here's my test-code:
Code:
try {
File f = new File("test.txt");
System.out.println(f.exists());
[Code]....
it seems to save the file, but nothing that is readable in ubuntu.
I'm using the openjdk-6-jre package by the way.
EDIT: NVM! Forgot to cd into the directory holding the jar before running, so it was working but it was saving to the $HOME dir...
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.
How to install java and firefox java plugin on Ubuntu 10.10?
View 2 Replies View RelatedI 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.
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.
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?
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 RelatedAfter 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 RelatedI 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 RelatedIf 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?
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?
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