Re: installation problems

1998-10-27 Thread hiro

Hello.  I got same problem and solved it.  And this is my first mail
to java-linux Mailing List.  I'm a japanese student, so my English may
be strange.  I'm sorry.  m(..)m

mshen> ...Checkversions: {isGreaterOrEqual: command not found

Edit the bin/checkVersions file and modify

from

>if isGreaterOrEqual "$libdlVers" 1.9.6 ||
>   {isGreaterOrEqual "$libcVers" 1.5.44 &&
>isGreaterOrEqual "$libdlVers" 1.9.9}

to

>if isGreaterOrEqual "$libdlVers" 1.9.6 ||
>   { isGreaterOrEqual "$libcVers" 1.5.44 &&
>isGreaterOrEqual "$libdlVers" 1.9.9 }

You can find with emacs's i-serch "{isGreater" easily.

mshen> ..bin/i586/green_threads/java: can't load library 'libXp.so.6'.

This message tells you to use X11R6.4.  But you can solve this problem
with installing only libXp.so.6 into your linux box.

mshen> The Linux version is Redhat 4.2. Kernel is 2.0.30

I'm sorry, I don't know RedHat Linux.  As for me, for example, I'm a
Slackware user, getting a x332bin.tgz from slackware site(
www.cdrom.com ).  And I installed only libXp.so.6.2 like following.

# tar xvzf x332.tgz -C /tmp
# cp /tmp/usr/X11/lib/libXp.so.6.2 /usr/X11/lib
# cd /usr/X11/lib
# ln -sf libXp.so.6.2 libXp.so.6
# /sbin/ldconfig

Good luck.

Hirotaka Igarashi
[EMAIL PROTECTED]



Re: Error: Can't load libXpm.so.4

1998-10-29 Thread hiro

Hello

> I am using slackware 3.5. I have installed the jdk 116v5. But when I try
> to simply run java binary it says:
> 
> /usr/local/jdk116_v5/bin/../bin/i686/green_threads/java: can't load
> library 'libXpm.so.4'

libXpm?? or libXp?

If you say libXp.so, you can get x332bin.tgz from Slackware site(
ex. www.cdrom.com ).  This tar-ball includes libXp.so so you can copy
it from tar-ball into your Linux box.

As same as above you can get libXpm.so from tar-balls ( may be
x332xpm.tgz ?? ) from Slackware site.

Good luck.

from Hirotaka Igarashi
[EMAIL PROTECTED]



Re: Is Swing available?

1998-11-23 Thread hiro

Hi

From: [EMAIL PROTECTED] (Patrick Hays)
Subject: Is Swing available?
Date: Mon, 23 Nov 1998 08:21:05 -0500

> I just started trying to use java with RHL 5.2 and downloaded all the
> tarballs for jdk, jre, etc. and then used the examples from the Java
> NutShell book to "exercise" the installation with everything fine except
> for examples needing swing components.  It wasn't absolutely clear to me
> from the documentation if swing was/wasn't supported although I guess it
> isn't.

I consider that Java NutShell is one of the good books for learning Java.

Swing is coded by 100% pure Java.  So you can use swing with Linux
jdk.  You can download swing from
http://java.sun.com/products/index.html.  You can find many Java
products for Java.  For example, BDK and JSDK are alse coded by 100%
pure java.  So you can use these for your Linux.

Notice: You should download products for Solaris rather than Win32.
(I consider that there is a difference in installer.)

> If it _is_ available could someone please point me to place to look? 
> Otherwise I shall have to continue doing java development on NT (sigh).

hiro



Re: Servlets ??

1998-12-04 Thread hiro

Hi,

Servlet package is written in the 100% pure JAVA, So you can get it
from Sun's site.

Please check

http://java.sun.com/products/servlet/index.html

You can get informations for servlet.

And it is also good for you to check 

http://java.sun.com/products

have fun.

from hiro

> Hi,
> 
>   I have RH4.1 Kernal 2.0.27, JDK1.1.5
> 
>   I want to run Servlets on my Linux m/c. 
> 
>   Is there anyting to install on Linux m/c, to run Java Servlets ???
> 
>   Help me.
>   
> 
> 
>  Ramesh Babu A. Phone 91-44-4909208
>  FiLL Project,  
>  TeNet Group,   <[EMAIL PROTECTED]>
>  IIT - Madras.
> 
> 



Re: Out of memory exception

1998-12-15 Thread hiro

Hi,

How about '-mx' option?

For example, 

java -mx128M yourClass

from [EMAIL PROTECTED]

From: "Marius Schamschula" <[EMAIL PROTECTED]>
Subject: Out of memory exception
Date: Mon, 14 Dec 1998 12:56:40 -0600

> Hi one and all,
> 
> I've written a Java based image processing Applet. It was written under the
> latest version of Metrowerks CodeWarrior (a great IDE IMHO soon to make it
> to Linux as well) on my Mac (1.1.x compiler). Under both Linux (Debian and
> PPC flavors) and Win95/98/NT4 I get an OutOfMemoryException. On the Mac I
> have no such problem.
> 
> Any ideas?
> 



Re: font.properties.ja

1999-01-28 Thread hiro

Hi, 

From: SHUDO Kazuyuki <[EMAIL PROTECTED]>
Subject: Re: font.properties.ja
Date: Thu, 28 Jan 1999 12:16:53 +0900

> We can handle Japanese characters with JDK for Linux. but,
> 
> JDK 1.1.7v1a for Linux has a bug that a `file.encoding'
> property isn't set correctly.

I don't know charactor encoding system exactlly. But I can use
Japanese charactors with followings.

javac -encoding iso-2022-jp AnySource

and

java -Dfile.encoding=iso-2022-jp AnyClass

If I'm standing on wrong point of view, I apologize you.

> Kazuyuki SHUDOHappy Hacking!
>   Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
> 

from hiro