anyone have java118 working on slackware7?

2001-02-15 Thread Geduldig, Jonas

Does anyone have java118 working on slackware7?  I get the same error
message as a previous email described (see below).   Someone suggested
a missing en_US locale, but I checked mine and it was okay.

BTW, java130 and java116 work fine.  And I also tried IBM's java118 which
produced the same error message as with Blackdown's 118.

I would really like to get java118 working.  Any help is greatly
appreciated.

Jonas

> > I'm sorry if this is a silly or always-repeated question, but I
didn't
> > find any reference in the faq, and I really need urgently a
solution.
> >
> > The problem is, I'm trying to run jdk-1.1.8-v3-glibc-2.1.3 with
my
> > Slackware-7.0 linux distribution (glibc-2.1 based!). It's not
possible for
> > my to use newer versions, I need this one.
[..]
> > zapl:~$ /opt/jdk118_v3/bin/javac
> > SIGSEGV   11*  segmentation violation
> > stackbase=0xb198, stackpointer=0xb060
[..]
> > *current thread*
> > java.lang.System.initializeSystemClass(System.java)

You are missing the en_US locale, which the VM depends upon for
character translation.  I'm not sure of the best way to install
it for Slackware (i.e. what package contains it).  Typically 
your locales will live in /usr/share/locale/* or /usr/lib/locale/*
and you need to get en_US/ in there.

You might also try this tidbit from the glibc INSTALL notes:

>After installation you might want to configure the timezone and
> locale installation of your system.  The GNU C library comes with
a
> locale database which gets configured with `localedef'.  For
example, to
> set up a German locale with name `de_DE', simply issue the command
> `localedef -i de_DE -f ISO-8859-1 de_DE'.  To configure all
locales
> that are supported by glibc, you can issue from your build
directory the
> command `make localedata/install-locales'.

Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: anyone have java118 working on slackware7?

2001-02-15 Thread Larry Gates


I'm glad someone asked this.  I got the same error on Slackware 7.1, and gave up.
The same error occurs with jdk117v3 also.  I ended up porting my code to
j2sdk1.3, which works (albeit sound in the JMF is horribly unstable, but that's
another story).

Larry

Geduldig, Jonas writes:
 > Does anyone have java118 working on slackware7?  I get the same error
 > message as a previous email described (see below).   Someone suggested
 > a missing en_US locale, but I checked mine and it was okay.
 > 
 > BTW, java130 and java116 work fine.  And I also tried IBM's java118 which
 > produced the same error message as with Blackdown's 118.
 > 
 > I would really like to get java118 working.  Any help is greatly
 > appreciated.
 > 
 > Jonas
 > 
 > > > I'm sorry if this is a silly or always-repeated question, but I
 > didn't
 > > > find any reference in the faq, and I really need urgently a
 > solution.
 > > >
 > > > The problem is, I'm trying to run jdk-1.1.8-v3-glibc-2.1.3 with
 > my
 > > > Slackware-7.0 linux distribution (glibc-2.1 based!). It's not
 > possible for
 > > > my to use newer versions, I need this one.
 > [..]
 > > > zapl:~$ /opt/jdk118_v3/bin/javac
 > > > SIGSEGV   11*  segmentation violation
 > > > stackbase=0xb198, stackpointer=0xb060
 > [..]
 > > > *current thread*
 > > > java.lang.System.initializeSystemClass(System.java)
 > 
 > You are missing the en_US locale, which the VM depends upon for
 > character translation.  I'm not sure of the best way to install
 > it for Slackware (i.e. what package contains it).  Typically 
 > your locales will live in /usr/share/locale/* or /usr/lib/locale/*
 > and you need to get en_US/ in there.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Simple question about running servlet on Linux

2001-02-15 Thread Jacob Nikom

Hi,

I am running Tomcat 3.2.1 on RedHat Linux 6.2 with Apache 1.3.14.

I created simple  "my_form.html" file and placed it into the directory
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/servlets

This form suppose to call my servlet using the following line:


However, when I click on "Submit" button, it cannot find the
servlet.

In order to get the form into the browser I use the URL
http://localhost:8080/examples/servlets/my_form.html

and placed the my_form.html file in the directory
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/servlets

In order to get the servlet into the browser I used the URL
http://localhost:8080/examples/servlet/NameInput

and placed the NameInput.class file in the directory
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/WEB-INF/classes

Do you know which directory I should put into the my_form.html
to get my servlet called?

Thank you,

Jacob Nikom



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




How is Javasoft's JDK different from Blackdown's?

2001-02-15 Thread Andy

Which is more reliable and if Javasoft's
is what are the implications for the
Blackdown project?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




System.out.println not working in Redhat linux ver 6.1

2001-02-15 Thread R. Amarnath


hi
   I am using Redhat linux version 6.1

In that System.out.println statement is not working.
It is throwing an exception that.

java.lang.Internalerror : cant connect to XII windows server using :'0.0'
as the value of DISPLAY variable.

suppose if I work the same thing in xwindows it is working fine.
If any one know please send me the answer to

[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JNI Question - I want to open a file for Read/Write

2001-02-15 Thread Santosh Dawara


Hi All,

 Thank you for replying.

> >   I am trying to open a file in the usual way, (fopen)
> >   However, fopen returns the an unusual NULL. At first
> >   I thought I probably did not have permissions.
> >   I am sure its not that.
> 
> Check the errno after the fopen(). At least, you'll
> no longer have to speculate.

 Thank you, I found the problem, I was not using
 fopen like I should have I corrected that. I can open
 the file. But now I have a different problem, no matter
 what I print with fprintf to the newly opened file 
 nothing seems to be going to the file??

 I have a stand-alone program which does the same thing,
 but fellas, it works, the file gets filled with DEBUGS
 for the same Input. It just does not work the same Under
 JNI.

> BTW, what's the Linux connection?

 I am doing all my testing On Linux, naturally I thought
 someone here must have come across this one before, besides
 it is the 'Native' Interface, right ? But Honestly, I am
 frustrated .. I made sure I got everything right before 
 posting here, unlike the last time round. Sorry for that.

 If the moderator feels this should not belong here, I'll
 try somewhere else. But fellas, Help!

Regards,
Santosh.

> 
> Stefaan
> --
> How's it supposed to get the respect of management if you've got just
> one guy working on the project?  It's much more impressive to have a
> battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]