[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Problem with java on linux.



Hello,

You could try to increase your swap space. 20 MB can be quite
especially if you have X running. You can try on of these things

1. If X is running - shut it down. If X starts up when you boot into
Linux, you can still shut it down by using the command "init 3" so
that you can start in multiple user mode without X.

2. Increase the swap space on your machine, but this could
be difficult if you don't have free space on your hard disk. But if
you do have free space, you can create the swap partition
using fdisk or disk druid. Then you will need to format it and mount
it and make the appropriate entries in the /etc/fstab file etc.

I guess, that should be it.

Regards,
Prem Kurian Philip




- ----- Original Message -----
From: Aranya <akshata@xxxxxxxxxxxxxxxxxxx>
To: <linux-india@xxxxxxxxx>
Sent: Thursday, July 22, 1999 11:08 PM
Subject: Re: Problem with java on linux.


> >Hi,
> >
> >I'm new to Java.  I was reading a book, and I tried an example in my
> >system. (Dual boot  - Linux(RH5, PCQ) and Win95).  But, I'm not able
> >to compile or run the program.  This is what I have done.
> >
> ># javac HelloWorldApp.java
>
> ^^^
> I don't like the look of that! You shouldn't be working as root when you
are
> doing programming.
>
> >bash: javac: command not found
> >
> >#locate javac
> >/usr/local/jdk1.1.5/bin/javac
> >/usr/local/jdk1.1.5/bin/javac_g
> >/usr/local/jdk1.1.5/bin/Linux/green_threads/javac
> >/usr/local/jdk1.1.5/bin/Linux/green_threads/javac_g
> >
> ># /usr/local/jdk1.1.5/bin/javac HelloWorldApp.java
> >**Out of memory, exiting**
> >
> >What is wrong here?  I have 16MB RAM, and 20MB swap partition.
> >
>
> Why do you use javac? There's a much better compiler called guavac (a GNU
> Java, I believe) which runs a zillion times faster than Sun's javac -
> probably as fast as gcc. Not just Linux, I've tried java on Windows,
Digital
> Unix and even Solaris -- none of them come even close to be being as fast
as
> guava. Although I have 32 megs of RAM, my guess is that
> guavac should be able to manage with 16 megs too. the interpreter (i.e.
> java) is called kaffe. I couldn't run the interpreter on RH5.2, it just
> crashed. However, it works great on RH6.0.
>
>
> Akshat
>
>
>
> --------------------------------------------------------------------
> For more information on Linux in India visit http://www.linux-india.org/
> The Linux India mailing list does not accept postings in HTML format.
>


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------