Arabic Support

1998-11-19 Thread rick

Does JDK 1.1.7v1a supports arabic?

If so , how can i import windows arabic fonts to Linux ?


Thanks

Rick T Fajardo



Arabic Support

1998-11-19 Thread rick

Does JDK 1.1.7v1a supports arabic?

If so , how can i import windows arabic fonts to Linux ?


Thanks



Linux + java + oracle

1998-11-19 Thread Przemek Bąk

How can I connect to Oracle using java on Linux ?
But ! we have in job Oracle 7.1.* so I cannot
use Oracle Thin driver which works only with
Oracle 7.3.* (I guess) and above.

przemol
-- 
[EMAIL PROTECTED]



Java and 3D.

1998-11-19 Thread Karthik Vishwanath

Hi All,
I need to use some extensive 3d-stuff in a java app that i plan to
write. Do any tools exist that would enable me to use a 3d package as
OpenGl along with java?

Thanks,
Karthik.

+-+
| Karthik Vishwanath, Graduate trainee,   |
| National Centre for Biological Sciences, TIFR Bangalore, India. |
| Ph: (080)344-4062/5615/3035 | Ext:315.  |
| mail to: [EMAIL PROTECTED]|
+-+
Microsoft isn't the answer. 
Microsoft is the question and the answer is NO.






RE: Linux

1998-11-19 Thread Klaus Strebel

Hi,

you wrote:
> If you click on several entries such as:
> i18n_1.1.7-v1a-glibc-x86.tar.bz2
> it tries to read the file in binary format.  How are you supposed to
> download these files.
well, what is wrong in downloading binary files as binary files ??? :-o. But
remember that you need bzip2 to unpack these files. bzip2 should be in your
linux distribution/ availible by your distributor.

Ciao
KLaus

Btw.: Josin Etienne - great signature, i borrowed it ;-).
-- 
Klaus Strebel
[EMAIL PROTECTED]
EIGNER + PARTNER AG   - The Engineering Warehouse Company -

--
In Heaven there will be no DOS, no Intel, and above all, no Bill.



Re: linux

1998-11-19 Thread jim watson

Mehrdad,

if you have slackware 3.3, you may need the libc5 version of jdk. when i
had slackware 3.4, it did not have glibc or bunzip2, Unless you have
installed these yourself, you will need the libc5 and tar.gz version such
as -

ftp://ce.usu.edu/pub/mirror/linux/JDK/JDK-1.1.7/i386/libc5/v1a/jdk_1.1.7-v1a-libc5-x86.tar.gz

I see i also need to upgrade, current slackware is 3.6.0 ...

Mehrdad wrote:

> Hi,
>
> I have an intel-based machine with Linux(slackware 3.3)  installed on a
> partition of a scsi drive.  I am trying to download the latest version
> of JDK(glibc) for linux.   I have two questions:
>
> 1. When I get to the mirror site
> ftp://ce.usu.edu/pub/mirror/linux/JDK/JDK-1.1.7/i386/glibc/v1a/
> If you click on several entries such as:
> i18n_1.1.7-v1a-glibc-x86.tar.bz2
> it tries to read the file in binary format.  How are you supposed to
> download these files.



Re: Linux + java + oracle

1998-11-19 Thread peter . pilgrim


SunSoft[tm] maintains a list of JDBC drivers from a number of third party
vendors on it web pages See the following URL for a list of JDBC drivers
provided:

http://java.sun.com:80/products/jdbc/jdbc.drivers.html



__ Reply Separator 
_
Subject: Linux + java + oracle
Author:  przemol ([EMAIL PROTECTED]) at lon-mime
Date:19/11/98 10:05


How can I connect to Oracle using java on Linux ? 
But ! we have in job Oracle 7.1.* so I cannot
use Oracle Thin driver which works only with 
Oracle 7.3.* (I guess) and above.
 
przemol
-- 
[EMAIL PROTECTED]



Re: RMI binding bug

1998-11-19 Thread Douglas T. Brown

Thank you all for your help on this.

I seem to have it working now.  There were two issues which I'll try to make
explicitly clear for the mail list archive and future reference:

1)  The correct syntax for the first argument string for rebind is:
"rmi://host/name", whereas I had only "//host/name".

2)  More interesting is that localhost does not work.  Thus,
"rmi//127.0.0.1/HelloServer" does not work, nor does
"rmi//localhost/HelloServer".

I solved this second problem by putting my machine IP, nickname and complete
hostname in /etc/hosts.  Thus,
"rmi//hostname/HelloServer" works fine, as does
"rmi//xxx.xxx.x.2/HelloServer".

I say 'works fine', by which I mean that naming binds the object without
complaint.  I don't have it actually doing anything, yet, but I naively don't
anticipate any problems.

<>


-DTB



Runtime.exec ()

1998-11-19 Thread Marius Schamschula

Hi there,

I am having trouble getting Runtime.exec () to do anything (yes I do send
the desired command as an argument...e.g. "/bin/ls /home/someusr/dir >
/home/someusr/test"). I've tested my code on both a mkLinux (DR2.1u5) and
Debian Linux machine running various flavors of JDK 1.1.x. I'm trying to use
Java to directly invoke various shell scripts. I do a waitFor () for the
process to terminate, check the InputStream and ErrorStream. The streams are
empty...

Any hints?

TIA

Marius

Marius Schamschula, optical physicist, mac, and network coordinator

The Center for Applied Optical Sciences:  http://www.caos.aamu.edu/
  Department of Physics, Alabama A & M University



Re: Runtime.exec ()

1998-11-19 Thread Mark Hofmann

Hi,

I tried the same thing some time ago.
The problem is, exec works, for example if you try exec("ls") you wont get
problems. However, running anything as a command that has a
redirection of out-/ input in it fails.

I don't know why, but that's what I experienced.

Anybody knows why ???

   Mark


Marius Schamschula wrote:

> Hi there,
>
> I am having trouble getting Runtime.exec () to do anything (yes I do send
> the desired command as an argument...e.g. "/bin/ls /home/someusr/dir >
> /home/someusr/test"). I've tested my code on both a mkLinux (DR2.1u5) and
> Debian Linux machine running various flavors of JDK 1.1.x. I'm trying to use
> Java to directly invoke various shell scripts. I do a waitFor () for the
> process to terminate, check the InputStream and ErrorStream. The streams are
> empty...
>
> Any hints?
>
> TIA
>
> Marius
>
> Marius Schamschula, optical physicist, mac, and network coordinator
>
> The Center for Applied Optical Sciences:  http://www.caos.aamu.edu/
>   Department of Physics, Alabama A & M University

--
M a r k  H o f m a n n
Department of Computer Science
University of Stellenbosch / South Africa
phone: +27-82-7449880




Re: Runtime.exec ()

1998-11-19 Thread Juergen Kreileder

> Marius Schamschula writes:

Marius> Hi there,
Marius> I am having trouble getting Runtime.exec () to do anything
Marius> (yes I do send the desired command as an
Marius> argument...e.g. "/bin/ls /home/someusr/dir >
Marius> /home/someusr/test"). I've tested my code on both a
Marius> mkLinux (DR2.1u5) and Debian Linux machine running various
Marius> flavors of JDK 1.1.x. I'm trying to use Java to directly
Marius> invoke various shell scripts. I do a waitFor () for the
Marius> process to terminate, check the InputStream and
Marius> ErrorStream. The streams are empty...

Marius> Any hints?

You need a shell if you want to use '>':

Process p = Runtime.getRuntime().exec(new String[] {
"/bin/sh", "-c", 
"/bin/ls /home/someusr/dir > /home/someusr/test"});



Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



Re: [ Michael Beattie ] Retract stupid question about linux-java - a permission issue

1998-11-19 Thread Gregg G. Wonderly



>> To be honest  I must not really understand permission
>> the application appletviewer, which comes with a jdk is really a symlink to 
 a file
>> called
>> .java_wrapper
>> # ls -l .java_wrapper

.java_wrapper is a shell script.  setuid or setgid on a shell script may or
may not work depending on which shell you use and whether it is setuid to
root and knows how to manage its effective uid based on the protections of
the shell scripts it is executing.

-
[EMAIL PROTECTED]  (C2 Technologies Inc)




FYI: OpenGroup 1.1.6v2 and Invocation

1998-11-19 Thread Bernd Kreimeier


 > The main improvements are
 > - SIGPIPE bug fix
 > - invocation API support

I had one problem on RedHat 5.1, had to take out
of the LD path a libzip available on the system
to allow for use of the one that comes with the
JDK, else you get linker errors:

Creating Java VM...
/opt/local/lib/libzip.so: undefined symbol: jmalloc (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread

Wonder whether this jmalloc is supposed to be in libzip.

Also, it asks you to set LD_BIND_NOW in your environment.
Nothing in the README, though.
 
Once that's done, this JDK now passes the basic invocation
test program. However, just as the Blackdown JDK did, 
OG JDK is still unable to survive a test program (my 
"inload") which loads the libjava.so with dlopen() first, 
and retrieves the invocation calls with dlsym(). Test 
app hangs. An app linked with -ljava but also against
-ldl hangs, too, when dlopen() is used to load yet another,
unrelated DLL.

Close, but no cigar. However, if you got Invocation and
no libdl.so involved, you might be fine:
   www.gr.opengroup.org,
and they were moving web/ftp sites, so you might have to
dig.


b.





Re: Runtime.exec ()

1998-11-19 Thread Marius Schamschula

Thanks to all that sent me the key:

exec doesn't redirect

I've rewritten my test applet to run a shell script that does the
redirection for me. It works just fine.

Marius

Marius Schamschula, optical physicist, mac, and network coordinator

The Center for Applied Optical Sciences:  http://www.caos.aamu.edu/
  Department of Physics, Alabama A & M University



JWS on x86 linux

1998-11-19 Thread Johnathan S Ra

On your website, It read:

Java Web Server
The Java Web Server 1.1 "final" is available at Javasoft's Java Web Server
page. Refer to mailing list about problems with this package. Here is a
quick install outline:
- You will need the Solaris SPARC distribution.

Does this mean you can't run JWS on linux box?



JDK 1.1.7

1998-11-19 Thread a . yilmaz

I had some problems while trying to install JDK(main being, I couldn't
figure out how to install it!).  Could you help me somehow?



Re: Java and 3D.

1998-11-19 Thread Joel Shellman

Related question. Does anyone know how or if there is a way to use the
Java 3D kit on Linux? I tried to download it but realized it was an
executable and therefore not runnable on linux.

Thank you,

Joel Shellman
http://corp.knocean.com/



Re: Retract stupid question about linux-java - a permission issue

1998-11-19 Thread Wolfgang Mües

Am Die, 17 Nov 1998 schrieb Chip Grandits:
>A.P. Bell wrote:
>
>> Don't know much about Java.  You should temporarily change the permissions on
>> /dev/audio and /dev/dsp to 666 and run your applet -- to ensure that your setuid
>> trick has worked.  Also, a method such as play() is likely overriden and so an
>> alternative method like play(,...) will likely exist.
>>
>> Again, I don't know anything, just trying to give you some feedback because no
>> one else has thus far.
>>
>> Regards,
>> Andrew Bell
>
> I feel pretty stupid, your idea in fact worked!  I guess I've never been bitten by
>a permission
>snafu enough to go right to the beginning.  It's funny how people have to tell you
>the obvious
>routes to try.
>
>To be honest  I must not really understand permission
>the application appletviewer, which comes with a jdk is really a symlink to a file
>called
>.java_wrapper
># ls -l .java_wrapper
>-r-sr-xr-x1rootroot3462Jun 19 01:36.java_wrapper
>I assumed the 's' in the owner's 'x' spot meant that this executable would execute
>with
>the owner's (i.e. root's) permission.  But this wouldn't work until I changed
>/dev/audio to
>chmod 666. (previously it was 660).  I guess I don't fully understand.
>Maybe it's something like .java_wrapper invokes a library, and the library has to
>have the
>permission??  Or that 's' doesn't really mean what I think it means??

No. The answer is simple: for security reasons, the suid feature is *DISABLED*
if the file is a shell script. suid only works for applications

Been there, 

regards
Wolfgang
 



Re: Java and 3D.

1998-11-19 Thread jeff

Magician http://www.arcana.co.uk is the best way to do Opengl with java.

Joel Shellman wrote:

> Related question. Does anyone know how or if there is a way to use the
> Java 3D kit on Linux? I tried to download it but realized it was an
> executable and therefore not runnable on linux.
>
> Thank you,
>
> Joel Shellman
> http://corp.knocean.com/



Re: Java and 3D.

1998-11-19 Thread wbogardt

More importantly is there possibly any group that plans on going to work
on porting Java 3D API to Linux?  I understand that the Java 3D API is
layered on top of and makes some calls to the lower level OpenGL, Direct3D
APIs, which are tied to certain hardware.
If you are looking for a more immediate solution to 3D stuff  to write
into your applets or application try  http://www.inworldvr.com/ they
appear to have a pretty good Java 3d API, which is written in 100% Java,
and works on Java 1.0 and 1.1.

Joel Shellman wrote:

> Related question. Does anyone know how or if there is a way to use the
> Java 3D kit on Linux? I tried to download it but realized it was an
> executable and therefore not runnable on linux.
>
> Thank you,
>
> Joel Shellman
> http://corp.knocean.com/





Re: RMI binding bug

1998-11-19 Thread Chris Kakris

"Douglas T. Brown" wrote:
> 
> 1)  The correct syntax for the first argument string for rebind is:
> "rmi://host/name", whereas I had only "//host/name".
> 
> 2)  More interesting is that localhost does not work.  Thus,
> "rmi//127.0.0.1/HelloServer" does not work, nor does
> "rmi//localhost/HelloServer".

Are you sure?  (note that you are missing the ":" character in the two
preceeding lines).  I have no problems using rmi://localhost/server.

Chris

Dynamic Solutions Pty Ltd  http://www.dynamic.net.au/christos
414 Gilbert Road   [EMAIL PROTECTED]
Preston, Victoria 3072 61 3 94718224 - voice
Australia  61 3 94711622 - fax



CLASSPATH var.

1998-11-19 Thread Karthik Vishwanath

Hi all,
The java... classes exist as a classes.zip file in
~/jdk-1.1.6/lib.  Also, the README.linux says that there is no need to set
CLASSPATH. 
If i need to use 3rd party packages present as .class files in a
dir such as ~/3rdparty//utils/classes/* how must i modify my CLASSPATH
var?

Thanks,
-Karthik.

+-+
| Karthik Vishwanath, Graduate trainee,   |
| National Centre for Biological Sciences, TIFR Bangalore, India. |
| Ph: (080)344-4062/5615/3035 | Ext:315.  |
| mail to: [EMAIL PROTECTED]|
+-+
Microsoft isn't the answer. 
Microsoft is the question and the answer is NO.






jdk_1.1.7-v1a missing headerfiles

1998-11-19 Thread Robert C. Pettengill

jdk_1.1.7-v1a-glibc-x86-native.tar.gz
is missing most of the headerfiles in the inlude directory.
We have a jni app that needs them.  Are they unchanged from 1.1.6 or
unchanged form the Solaris versions?

;rob
--
 Robert C. Pettengill, Ph.D. 
 Schlumberger assignee to the MCC InfoSleuth Project
 MCC: [EMAIL PROTECTED], +1(512)338-3728, http://seattle.mcc.com/
  MCC, 3500 West Balcones Center Dr., Austin, Texas 78759-5398
 APC-R: [EMAIL PROTECTED], +1(512)331-3728,
http://www.austin.apc.slb.com/~rcp/
  Schlumberger APC-R, P. O. Box 200015, Austin, Texas  78720



Re: Linux + java + oracle

1998-11-19 Thread Rudhuwan Abu Bakar


maybe this is unrelated but i need help

I am using JDBC driver to connect to Oracle 8.0.5 under linux.

However i keep getting unknown driver.I use
oracle.jdbc.driver.OracleDriver as the name of the JDBC driver?Anyone can
tell me if this is the correct driver.

Sorry for this.I have no way to go for help.

regards
duan




Re: jdk_1.1.7-v1a missing headerfiles

1998-11-19 Thread Juergen Kreileder

> Robert C Pettengill writes:

Robert> jdk_1.1.7-v1a-glibc-x86-native.tar.gz is missing most of
Robert> the headerfiles in the inlude directory.  We have a jni
Robert> app that needs them.  Are they unchanged from 1.1.6 or
Robert> unchanged form the Solaris versions?

The native threads jdk is no stand-alone package, it's an 
add-on to the green threads jdk. 
jdk_1.1.7-v1a-glibc-x86-native.tar.gz contains all include
files.


Juergen



Re: Linux + java + oracle

1998-11-19 Thread Robert P. Biuk-Aghai

Hi,

I have a similar setup (Linux 2 glibc, JDK 1.1.6, Oracle 8) and for me
it works fine, however in *applications*. I tried running the same
stuff in an applet, and although the classes111.zip file from Oracle
was in my browser's classpath, I would get the same or a similar
exception as you (don't remember clearly). Don't know why. As I
remember, I was able to run it in the appletviewer, so it might be a
Netscape issue (was using 4.06 at the time).

So if you have an application you should have no problems. Make sure
that you load the Oracle driver using a statement like this:

   Class.forName("oracle.jdbc.driver.OracleDriver");

Robert.


On Fri, 20 Nov 1998, Rudhuwan Abu Bakar wrote:

> I am using JDBC driver to connect to Oracle 8.0.5 under linux.
> 
> However i keep getting unknown driver.I use
> oracle.jdbc.driver.OracleDriver as the name of the JDBC driver?Anyone can
> tell me if this is the correct driver.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Robert P Biuk-Aghai, University of Macau, Faculty of Science and Technology
http://hyperg.sftw.umac.mo/robert/tel: +853-3974365fax: +853-838314
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Microsoft isn't the answer. Microsoft is the question and the answer is no.



Re: Runtime.exec ()

1998-11-19 Thread mlorton

> From: Mark Hofmann <[EMAIL PROTECTED]>
> Subject: Re: Runtime.exec ()
> 
> Hi,
> 
> I tried the same thing some time ago.
> The problem is, exec works, for example if you try exec("ls") you wont get
> problems. However, running anything as a command that has a
> redirection of out-/ input in it fails.
> 
> I don't know why, but that's what I experienced.
> 
> Anybody knows why ???

Simply that redirection is part of the shell, not part of the OS.  You
must invoke a shell to see that behavior.

M.



Re: jdk_1.1.7-v1a missing headerfiles

1998-11-19 Thread Michael Sinz

On Thu, 19 Nov 1998 18:16:30 -0600, Robert C. Pettengill wrote:

>jdk_1.1.7-v1a-glibc-x86-native.tar.gz
>is missing most of the headerfiles in the inlude directory.
>We have a jni app that needs them.  Are they unchanged from 1.1.6 or
>unchanged form the Solaris versions?

You need to use jdk_1.1.7-v1a-glibc-x86.tar.gz along with the
native threads package.  The native threads package is just an
"add-on" to the "traditional" JDK.  (No need to download the
same thing more than once...)


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] - http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz




Re: RMI binding bug

1998-11-19 Thread Douglas T. Brown

You are correct to pick up the typos in my note.  The syntax
that I got to bind was in fact "rmi//... rather than "rmi:// ...

As I have since read various sources, I have found the syntax for the argument of
bind and rebind variably as:
("rmi://host/name", obj) or ("//host/name", obj).

Further experimentation has shown that ANY of the following forms execute
without throwing an exception:
("rmi://host/name", obj), or
("//host/name", obj), or even
("rmi//host/name", obj) without the ':'

I have found that 'localhost' or '127.0.0.1' will NOT work for 'host' in the
above forms, whereas the IP address for the server or it's nickname from
/etc/hosts will work fine as the 'host' element.  This all seems odd to me, I
must admit.  I must also admit I have yet to get lookup() to work on an applet
downloaded from the server.  If you have any insight into this I would be glad
to hear it!  I suspect I'm missing something obvious here.

Here's the code that executes the rebind:

import java.rmi.*;
import java.rmi.server.*;
import java.net.*;

public class HelloImpl extends UnicastRemoteObject implements HelloInt {

public String name;

public HelloImpl (String s) throws RemoteException {
super();
name = s;
}

public String sayHello() throws RemoteException {
return "Hello World!";
}

public static void main (String args []) {

System.setSecurityManager (new RMISecurityManager());

try {
HelloImpl obj = new HelloImpl ("HelloServer");
System.out.println ("Attempting to rebind . . .");
Naming.rebind ("rmi://xxx.xxx.x.x/HelloServer", obj);
System.out.println ("Hello Server bound . . .");
}
catch (RemoteException re) {
System.out.println ("RemoteException in HelloImpl.main:  " + 
re.getMessage());
re.printStackTrace();
}
catch (MalformedURLException e) {
System.out.println ("MalformedURLException in HelloImpl.main:  
" + e.getMessage());
e.printStackTrace();
}

}
}

This produces the "Attempting to rebind . . ." and "Hello Server bound . . ."
messages on the console as one would expect.

-DTB