Re: JDK 1.2 won't run JFC demo

1999-04-02 Thread Anil kumar

On Thu, 1 Apr 1999, Joe Lin wrote:

> Hi,
> 
> I have downloaded the JDK 1.2 from blackdown.org.  and I tried to run the
> JDK 1.2 JFC demo (FileChooserDemo). But I got an Linker error as follows:
> 
> Exception in thread "main"
> java.lang.UnsatisfiedLinkerError:/usr/jdk1.2/jre/lib/i386/libfontmanager.so:
> libstdc++-lib6.0-1.so.2:cannot open shared object file:No such file or

you can create link to 
ln -s /usr/lib/libstdc++-lib6.0-1.so.2 -> /usr/lib/libstdc++.so 

> directory
>at java.lang.ClassLoader$NativeLibraryLoad(Native Method)
>at java.lang.ClassLoader.LoadLibrary0(Compiled Code)
>..
>...
> I checked my directory and the file
> "/usr/jdk1.2/jre/lib/i386/libfontmanager.so" is indeed there.
> 
> At another instance I tried to run the tree demo and this time I got an
>   java.lang.ClassNotFoundException: javax/swing/tree/DefaultMutableTreeNode
> 
> I'm using RedHat 5.2 but I'm a newbie on Linux. How to fix this?
> 
> Thanks
> 
> Joe
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 




Advanced Technology Group, River Valley Technologies 
URL http://www.river-valley.com
Personal: http://personal.vsnl.com/greenpastures


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



javac-BUG ???

1999-04-02 Thread Dipl.-Ing. Dr. Mustafa Radi

Hello jdk-developers !


First of all I want to point out, that Blackdown is doing a good work,
and since Sun does not see, that Linux is becoming a competitive
alternative to Microsoft's Windows it is up to the porting team
to support the increasing group of Linux-developers who are not willing
to develop under windows circumstances ...


Last week I changed to the pre release of jdk1.2 using Linux and
recompiled the projects that I have developed using jdk1.1.7 -
but the results where disappointing:
(I am using Redhat5.2 and Suse6.0 !!!)


1.) Fonts do not behave as in 1.1.7, and even the batch in the
FAQs does not result to satisfying GUIs

2.) The javac compiler seems to be buggy since some of the
projects leads to >>nullpointerexceptions<< or other very strange
behaviors.
Unfortunately, the source-code is very huge, that I still could not
extract a simple example for balckdown to fix this bug(s)

3.) The exceptions in jdk1.2 do also not work. Instead of the trace-tree
I just get the message of the very top calling function (without
line-specification or something else) ...

4.) The initialization of the classes seems to behave different in 
jdk1.1.7 and jdk1.2 but this my also be caused by the problem
mentioned in point (2).


To be sure, that this is really just a problem of the pre-release and
not
a mistake of my coding, I compiled the complete projects on a Win95
and Win98 system using the original jdk2.0 (alias jdk1.2) from Sun, with
the expected results:

it works fine

Is there somebody out there that have figured out equal problems, and
are
there simple examples to support the Blackdown team to fix these
problems ???

I am trying to find simple examples to demonstrate the sometimes amazing
behavior of jdk1.2-pre but always when the problem is becoming
smaller the mistakes disappear. Unfortunately, my time is very limited,
thus I have not enough time to work in that direction ...

with best regards


 Mustafa


-- 

\\\|///
  \\  ~ ~  //
   (  @ @  )
-oOOo-(_)-oOOo-**
 UNIworXphone: 0664-3848460
 Dipl.Ing. Dr. Mustafa RADI fax  : 02773-43640
 Antonstraße 6  email: [EMAIL PROTECTED]
 3032 Eichgraben http://www.uniworx.at
 A U S T R I A
*-Oooo.-*
.oooO (   )
(   )  ) /
 \ (  (_/
  \_)


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



Re: How to make JDK1.2-pre-v1 as my default JVM

1999-04-02 Thread wdacruz


You need to uninstall kaffe:

rpm -ev kaffe*

At 07:29 PM 4/1/99 -0800, you wrote:
>Hi,
>
>I have realized after many agonizing hours that some of my problem is really
>due to Kaffe. I'm currently running RedHat 5.2 and I downloaded JDK preview
>v1. I set the PATH variable to point to "/usr/jdk1.2/bin". However, this
>does not prevent Kaffe VM to kick in if I simply type "java .." in the
>command line. I have to type "/usr/jdk1.2/bin/java..", instead. I'm new
>to Linux. Is there any way I can make the JDK 1.2 VM as the default? Thanks.
>
>Joe
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>
A Linux enthusiast :-) | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
___|___


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



Re: Windows PLAF hack?

1999-04-02 Thread Ulli Kortenkamp

> "Matthew" == Matthew McKeon <[EMAIL PROTECTED]> writes:

Matthew> I don't suppose anyone knows of / can recommend a hack to
Matthew> get around the windows PLAF block in v1.2 of the Linux
Matthew> JDK?  Is such a thing possible? Is the block integral to
Matthew> the VM or is it located somewhere in the runtime libs?
Matthew> I'm just looking to hack it to the point where I can get
Matthew> it up and running on my dev box, since my target client
Matthew> platform is Windows anyway.

There are two ways, either you set the "os.name" variable on the
command line (using java -Dos.name=Win2001 or something), or you
subclass the Windows look and feel class and override the
isSupportedLookAndFeel method (don't know whether that's the correct
name, but you will find it).

Matthew>Or is doing so illegal? :)

Could be. The question is: Why on earth do you prefer the Windows PLAF 
over the Java/Metal PLAF?

Ulli

-- 
ETH Zentrum, IFW B43, CH-8092 Zürich
Phone +41-1-63 27393 // FAX +41-1-63 21172
~~
Order Cinderella (http://www.cinderella.de) now:
 http://www.amazon.com/exec/obidos/ASIN/3540147195/theinteractivege
~~


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



Re: javac-BUG ???

1999-04-02 Thread Michael K Vance

"Dipl.-Ing. Dr. Mustafa Radi" wrote:

For your reference:

> 1.) Fonts do not behave as in 1.1.7, and even the batch in the
> FAQs does not result to satisfying GUIs

This is known.
 
> 2.) The javac compiler seems to be buggy since some of the
> projects leads to >>nullpointerexceptions<< or other very strange
> behaviors.

I have an 8000 line application, and I'm not having any sort of problem like
this. Is your app Thread-heavy?

> 3.) The exceptions in jdk1.2 do also not work. Instead of the trace-tree
> I just get the message of the very top calling function (without
> line-specification or something else) ...

I get full trace trees. My only gripe at this point is that I can't seem to
turn off the JIT, so I don't get full stack traces (ie, with line numbers).
 
> 4.) The initialization of the classes seems to behave different in
> jdk1.1.7 and jdk1.2 but this my also be caused by the problem
> mentioned in point (2).

Not seeing this either.

I know that's not very helpful, but it is a data point--many of us are using
the 1.2pre1 JDK, and it works fine. You may want to check that improvements in
the VM may be exposing race conditions in your code.

Regards,

m.

-- 
"We can deny everything, except that we have the possibility of being better.
 Simply reflect on that."
 -- His Holiness The Dalai Lama


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



Re: JDK 1.2 won't run JFC demo

1999-04-02 Thread John Summerfield

> Hi,
> 
> I have downloaded the JDK 1.2 from blackdown.org.  and I tried to run the
> JDK 1.2 JFC demo (FileChooserDemo). But I got an Linker error as follows:
> 
> Exception in thread "main"
> java.lang.UnsatisfiedLinkerError:/usr/jdk1.2/jre/lib/i386/libfontmanager.so:
> libstdc++-lib6.0-1.so.2:cannot open shared object file:No such file or
> directory
>at java.lang.ClassLoader$NativeLibraryLoad(Native Method)
>at java.lang.ClassLoader.LoadLibrary0(Compiled Code)
>..
>...
> I checked my directory and the file
> "/usr/jdk1.2/jre/lib/i386/libfontmanager.so" is indeed there.
Check /etc/ld.so.conf: probably should lpok somewhat like this (but with 
your directories)

>[summer@emu .Mail]$ head -50 /etc/ld.so.conf 
/usr/X11R6/lib
/usr/local/lib
/usr/i486-linux-libc5/lib
/u01/app/oracle/product/8.0.5/lib
/u01/app/oracle/product/8.0.5/jdbc/lib

[summer@emu .Mail]$ 
 
After changing it, run ldconfig


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



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



Re: Windows PLAF hack?

1999-04-02 Thread Matthew McKeon

Ulli Kortenkamp wrote:
[kersnip]
> Matthew>Or is doing so illegal? :)
> 
> Could be. The question is: Why on earth do you prefer the Windows PLAF
> over the Java/Metal PLAF?
> 

Heh... the answer is "That's what our client wants".

Actually, I find the current visD for 
Metal's internal frame title bars and window buttons 
quite revolting. It's so cartoonish and odd. 
I MUCH preferred the original (including the notch) -- 
it was smoother and less distracting. 

Thanks everyone for your suggestions. 
I have the windows PLAF up and running now. 

> Ulli

-- 
Matthew McKeon | [EMAIL PROTECTED]
 developer | 412.488.2900
MAYA VIZ, Ltd. | 2100 Wharton St.
   | Pittsburgh, PA 15203


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



Re: japanese font problem japanese redhat linux 5.2 & java2

1999-04-02 Thread Naoki Shibuya

Hi Haruhide-san,

My question is a bit off-track for this ml.  Excuse me if you're annoyed.

>
>i cannot display japanese correctly.
>does anyone succeed to display japanese?
>i updated my linux to japanese redhat linux 5.2 & java2.

Just curious.  How did you upgrade your linux to Japanese redhat
linux 5.2? (I know java2 part)

I know there are the following Japanese linux or extension exist:

1. PJE
2. Debian (or Debian JP)
3. TurboLinux (with Japanese support)

Or is there any other way to make your linux Japanese capable?
Or is there such a thing called Japanese Redhat Linux?
I have been looking for it but I could not found any.  Can you tell me
what you did?

Regards,
Naoki


>kernel 2.0.36
>glibc2(libc6)
>jdk 1.2 pre-v1(java 2) http://www.blackdown.org
>kinput2
>LESSCHARSET=japanese-euc
>LANG=ja_JP.ujis
>OSTYPE=Linux
>LINGUAS=ja
>
>cheers,
>-h. yasu
>
>
>--
>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: japanese font problem japanese redhat linux 5.2 & java2

1999-04-02 Thread Haruhide Yauskawa

> Hi Haruhide-san,
> 
> My question is a bit off-track for this ml.  Excuse me if you're annoyed.
> 
> >
> >i cannot display japanese correctly.
> >does anyone succeed to display japanese?
> >i updated my linux to japanese redhat linux 5.2 & java2.
> 
> Just curious.  How did you upgrade your linux to Japanese redhat
> linux 5.2? (I know java2 part)
> 
> I know there are the following Japanese linux or extension exist:
> 
> 1. PJE
> 2. Debian (or Debian JP)
> 3. TurboLinux (with Japanese support)
> 
> Or is there any other way to make your linux Japanese capable?
> Or is there such a thing called Japanese Redhat Linux?

japanese redhat linux 5.2 is released


> I have been looking for it but I could not found any.  Can you tell me
> what you did?
> 
> Regards,
> Naoki



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



Re: japanese font problem japanese redhat linux 5.2 & java2

1999-04-02 Thread Naoki Shibuya

Hi, 

Execuse me for the off-track question again.

>
>japanese redhat linux 5.2 is released
>

I went to the RedHat site but could not find anything like that.
As I live in Sydney, I don't have much Japanese local info.
I searched for it using www.goo.ne.jp search engine but
nothing called Japanese Redhat linux was found.

Could you tell me where I can find it or download it?

Thanks,
Naoki


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



Re: japanese font problem japanese redhat linux 5.2 & java2

1999-04-02 Thread Haruhide Yauskawa

hit:
http://www.cdrom.co.jp

i bought it in japan when i had a vacation
i'm at mountain view, ca

how about users-side?
http://www.users-side.com


or install an english readhat at first,
and then install pje.

-h. yasu

> Hi,
>
> Execuse me for the off-track question again.
>
> >
> >japanese redhat linux 5.2 is released
> >
>
> I went to the RedHat site but could not find anything like that.
> As I live in Sydney, I don't have much Japanese local info.
> I searched for it using www.goo.ne.jp search engine but
> nothing called Japanese Redhat linux was found.
>
> Could you tell me where I can find it or download it?
>
> Thanks,
> Naoki
>
>
> --
> 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]



Help!Help!

1999-04-02 Thread Arnaldo Riquelme




I just downloaded the jdk v.117 . I trying to learn and get 
around this new enviroment.(linux)
 
A couple of problems
I set my path like so
    

    
export PATH=/home/java/jdk117/bin:$PATH
 
I wrote a simple little test Hello Linux!! 
program to see if it was working
but I get the following error
    

   
error in loading shared libraries
   
libjava.so: cannot open shared object file: No such file or 
directory
 
I also tried specifying the path this 
way
    

    
export 
PATH=/home/java/jdk117/bin/i686/native_threads:$PATH
AND
    
export 
PATH=/home/java/jdk117/lib/i686/native_threads:$PATH
 
 
What am I doing wrong?
 
Any help will be very appreciated. Can't wait to 
ge this going , so I can start moving most of my work on NT to 
Linux.