Re: Source Code of Web Browser for Linux

2000-05-02 Thread Stephan Michels

 
> Is there any source code of a Web browser for Linux available somewhere?
> It's even better if it's pure Java source code, so we can use it on
> different platform to get a consistent interface?

Look at http://home.earthlink.net/~hheister/

or

www.jazilla.org a Mozilla port in java.


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




list of drivers registered with odbc

2000-05-02 Thread Nash'at Ahmad



Hi,

Is there a way to get a list of all drivers registered 
with the odbc and/or register a driver with odbc using Java/JDBC.

Thanks,
Nash'at

Nash'at Ahmad
SAIC-Applied Physics Operation



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




Re: Loading .so file in java application on Linux

2000-05-02 Thread John Rousseau


On Tuesday May 2, 2000, Boris wrote:

> I have meet the question about java programming on linux platform.
> I will load 'hello.so' file in hello.class in following statement:
> static {
> System.Loadlibrary("hello"):
>}
> but when run hello.class by typing  'java hello',system show the following:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in 
>java.library.path
> .
> 
> And I try another method :'java -Djava.library.path=. hello'
> system show the same message.

On the unix platforms, System.LoadLibrary("foo") will look for
libfoo.so on your library path. You should probably rename hello.so
to libhello.so .

The library path should contain a list of directories to search for
libraries. If libhello.so is in /users/boris/mylibs, then you should
have:

java -Djava.libarary.path=/users/boris/mylibs 

Hope this help!
-John


John Rousseau   [EMAIL PROTECTED]
SilverStream Software Phone: +1 781 238 5564
1 Burlington Woods  Fax: +1 781 238 5499
Burlington, MA 01803 http://www.silverstream.com



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




Re: how to set proxy via the command line

2000-05-02 Thread Christopher Hinds

Why is the proxyPort parm in those brackets?

The command line should be:
java -Dhttp.proxyHost=proxyhost  -Dhttp.proxyPort=9 URLReader

where proxyHost is the host name or IP address of the proxy host
            proxyPort is the port the the proxy is listening on

Cheers
Chris

john wrote:


i sent an earlier post as to how to set the proxy
server via the command line.
well i just found in the java.sun site and the command
line parameters that need to set on a unix box are as
follows


   java -Dhttp.proxyHost=proxyhost
[-Dhttp.proxyPort=portNumber] URLReader

question is that how do we enter this. via the command
line... I get the following error if I enter it via
the command line as above, 

Exception in thread "main"
java.lang.NoClassDefFoundError: URLReader

please let me know as to what is error 


earlier post that i posted

--- john <[EMAIL PROTECTED]> wrote:
> 
> i have a small java program that goes and accesses
> a web page. (used the URL class)
> the java program works fine, but how do i force it
> to use a proxy server. I mean when i run the java
> program via the command line it goes and fetches
> the http web page as mentioned in the arguments
> 
> java test http://www.xyz.com
> 
> one can configure one's web client browser to use
> the
> proxy server and all the accesses are routed via the
> 
> proxy server. 
> can someone let me know as to how to do i force
> my java program to use a proxy server ?
> 
> the second problem is about the contents that are
> donwloaded. if it is a plain simple page with text
> and
> gif files it is fine. but if the page has some class
> files then
> these class files cause a lot of exceptions etc as
> the
> contents are being (tried to be interpreted by the
> via the command prompt)
> Any way this problem is secondary and the first one
> is
> how to route the requests via a proxy server.
> 
> thanks
> john
> 
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo!
> Messenger.
> http://im.yahoo.com/
> 

__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


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











Loading .so file in java application on Linux

2000-05-02 Thread Boris

I have meet the question about java programming on linux platform.
I will load 'hello.so' file in hello.class in following statement:
static {
System.Loadlibrary("hello"):
   }
but when run hello.class by typing  'java hello',system show the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in 
java.library.path
.

And I try another method :'java -Djava.library.path=. hello'
system show the same message.
What is wrong?
I need your help!
Thank you very much!
Boris :-)


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




Re: Source Code of Web Browser for Linux

2000-05-02 Thread Christopher Hinds

Opps , I made a mistake , ( Should not touch the keyboard before I've
 had at least one cup of coffee) . Mozilla ( AKA Netscape navigator ) is
 an opens-source browser available for 
download form www.mozilla.org. And yes Linux is a supported platform.

Cheers
Chris

[EMAIL PROTECTED] wrote:


Hi:

Is there any source code of a Web browser for Linux available somewhere?
It's even better if it's pure Java source code, so we can use it on
different platform to get a consistent interface?

Thanks.


Lee


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











Re: Source Code of Web Browser for Linux

2000-05-02 Thread Christopher Hinds

How about mozilla.org ( AKA Netscape ).  The Source code is available 
via GPL and there is a linux version.

Cheers
Chris

[EMAIL PROTECTED] wrote:


Hi:

Is there any source code of a Web browser for Linux available somewhere?
It's even better if it's pure Java source code, so we can use it on
different platform to get a consistent interface?

Thanks.


Lee


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











Re: Loading .so file in java application on Linux

2000-05-02 Thread Mo DeJong

Under Linux, you need to set the LD_LIBRARY_PATH to include the
directory where libhello.so lives.

Mo Dejong
Red Hat Inc.

On Tue, 2 May 2000, Boris wrote:

> I have meet the question about java programming on linux platform.
> I will load 'hello.so' file in hello.class in following statement:
> static {
> System.Loadlibrary("hello"):
>}
> but when run hello.class by typing  'java hello',system show the following:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello in 
>java.library.path
> .
> 
> And I try another method :'java -Djava.library.path=. hello'
> system show the same message.
> What is wrong?
> I need your help!
> Thank you very much!
> Boris :-)
> 
> 
> --
> 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]




Re: IBM-jdbc driver ...

2000-05-02 Thread Tom Williams

It should be.  We've been using the 1.1.x driver that comes with UDB 5.x
for a while now with the Java 1.2.2 plug-in for a while now.

Peace

Tom




[EMAIL PROTECTED] on 05/01/2000 10:27:39 AM

Please respond to [EMAIL PROTECTED]

To:   "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:(bcc: Tom Williams/HQ/dssi)
Subject:  IBM-jdbc driver ...




Does anyone know  whether IBM jdbc driver's is supported on jdk1.2?
Thanks.
Daniel

--
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]




Downloading web pages

2000-05-02 Thread john

thanks to all who responded to my thread for 
"how to set the proxy server via the command line".

The problem was that proxy port no was 8080.

ok. but this brings me to another halt ... (sort of)

I am have written a small program which goes and 
downloads a web page given its url. The download is
fine and works via proxy servers as well !!
however i have two problems now.

first when the download contains say some class files
, the shell tries to interpret it. and there are lots
of 
unicode characters appearing on the shell window etc.
second the java program is pretty slow. ie the
download
takes a bit more time. 

I am writing a small tool so that i could download 
web pages automatically via a proxy server and stress
the proxy server. I have a small loop which acts like 
a robot and picks out a few web pages and downloads
them.
This helps in analyzing performance of the web server.

however the java execution is slow and this does not
generate much of traffic via a proxy server.

does anyone know how improve performance ?

thanks all
john


--- Christopher Hinds <[EMAIL PROTECTED]> wrote:
> Why is the proxyPort parm in those brackets?
> 
> The command line should be:
> java -Dhttp.proxyHost=proxyhost 
> -Dhttp.proxyPort=9 URLReader
> 
> where proxyHost is the host name or IP address of
> the proxy host
>            proxyPort is the port the the proxy is
> listening on
> 
> Cheers
> Chris
> 
> john wrote:
> > 
> > i sent an earlier post as to how to set the proxy
> > server via the command line.
> > well i just found in the java.sun site and the
> command
> > line parameters that need to set on a unix box are
> as
> > follows
> > 
> > 
> >java -Dhttp.proxyHost=proxyhost
> > [-Dhttp.proxyPort=portNumber] URLReader
> > 
> > question is that how do we enter this. via the
> command
> > line... I get the following error if I enter it
> via
> > the command line as above, 
> > 
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError: URLReader
> > 
> > please let me know as to what is error 
> > 
> > 
> > earlier post that i posted
> > 
> > --- john <[EMAIL PROTECTED]> wrote:
> > > 
> > > i have a small java program that goes and
> accesses
> > > a web page. (used the URL class)
> > > the java program works fine, but how do i force
> it
> > > to use a proxy server. I mean when i run the
> java
> > > program via the command line it goes and fetches
> > > the http web page as mentioned in the arguments
> > > 
> > > java test http://www.xyz.com
> > > 
> > > one can configure one's web client browser to
> use
> > > the
> > > proxy server and all the accesses are routed via
> the
> > > 
> > > proxy server. 
> > > can someone let me know as to how to do i force
> > > my java program to use a proxy server ?
> > > 
> > > the second problem is about the contents that
> are
> > > donwloaded. if it is a plain simple page with
> text
> > > and
> > > gif files it is fine. but if the page has some
> class
> > > files then
> > > these class files cause a lot of exceptions etc
> as
> > > the
> > > contents are being (tried to be interpreted by
> the
> > > via the command prompt)
> > > Any way this problem is secondary and the first
> one
> > > is
> > > how to route the requests via a proxy server.
> > > 
> > > thanks
> > > john
> > > 
> > >
> __
> > > Do You Yahoo!?
> > > Send instant messages & get email alerts with
> Yahoo!
> > > Messenger.
> > > http://im.yahoo.com/
> > > 
> > 
> > __
> > Do You Yahoo!?
> > Send instant messages & get email alerts with
> Yahoo! Messenger.
> > http://im.yahoo.com/
> > 
> > 
> >
>
--
> > To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> 
> 

__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


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




Setting of System property through applet??..

2000-05-02 Thread Sabyasachi Gupta




Hi,
 
Setting of system property from within an applet 
gives 
java.lang.NoSuchMethodError: java/lang/System: 
method setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not 
found at ResolverApplet.init at 
com/ms/applet/AppletPanel.securedCall0 at 
com/ms/applet/AppletPanel.securedCall at 
com/ms/applet/AppletPanel.processSentEvent at 
com/ms/applet/AppletPanel.processSentEvent at 
com/ms/applet/AppletPanel.run at java/lang/Thread.run
 
If I am not able to set it then I am getting 
security exceptions as that
property needs to be set to use the xml parsers 
.
 
Thanks,
sabyasachi.


Re: Loading .so file in java application on Linux

2000-05-02 Thread Juergen Kreileder

> Mo DeJong writes:

Mo> Under Linux, you need to set the LD_LIBRARY_PATH to include
Mo> the directory where libhello.so lives.

Setting the system property java.library.path works too.  But the
library name has to be "libhello.so", "hello.so" will not work.

Mo> On Tue, 2 May 2000, Boris wrote:

>> I have meet the question about java programming on linux
>> platform.  I will load 'hello.so' file in hello.class in
>> following statement:
>> static {
>> System.Loadlibrary("hello"):
>> }

>> but when run hello.class by typing 'java hello',system show the
>> following: Exception in thread "main"
>> java.lang.UnsatisfiedLinkError: no hello in java.library.path
>> .
>> 
>> And I try another method :'java -Djava.library.path=. hello'
>> system show the same message.  What is wrong?

See above.

The FAQ has some hints and examples:

http://www.blackdown.org/java-linux/docs/support/faq-release/FAQ-java-linux-4.html#ss4.5


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


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