Re: JDK 116

1998-07-14 Thread Michael Ash

THE site for the JDK port to Linux project is:

www.blackdown.org

All of the necessary software and installation instructions are there. 
You may need to upgrade glibc--I did, which can be done via
sunsite.unc.edu or from some Linux vendors, e.g., www.redhat.com

Michael Ash[EMAIL PROTECTED]
Department of Economics &  tel 510/643-7094   [o]
Institute of Industrial Relations  510/644-0338   [h]
2521 Channing Way #510/642-6432 [fax]
Berkeley, CA 94720-   http://socrates.berkeley.edu/~maash

On Tue, 14 Jul 1998 [EMAIL PROTECTED] wrote:

> 
> 
> I would like to run jdk 1.1.6 on a linux box. What do I need in terms of
> software and where to I get it from ?
> 
> Many thanks in advance.
> 



Re: JDK & XIM

1998-07-14 Thread Nozomi Matsumura

Hi,
I reported to Mr. Stephen Wynne (FAQ-java-linux author)
but does not update yet.

> Please let me know the way to use XIM for entering text in TextField.
> I'd like to enter some 2 byte code character in JAVA TextField class
> using XIM input.
> If you have any information about that, help me please.
> 
Minori TAKAGAKI <[EMAIL PROTECTED]> success to input and display
to TextComponent.

He succeed to input directly by using kinput2(XIM) or by cut&paste
on java application and appletviewer.

His environment is
Slackware-3.4 + PJE-0.1(*1)
Kernel: 2.0.34
libc: 5.4.38
jdk1.1.6-v1-libc5

He said to use japanese charcteres, need to setup below.
1st install Red Hat Motif 2.1 and X-TT(*2)
2nd modify font.properties.ja (to use X-TT fonts)
3rd get liblocale.so
4th modify .java_wrapper
 export LD_PRELOAD=liblocale.so
 export LANG=ja
 export DYN_JAVA=1 (to use libXm.so.2 from RH Motif2.1)
5th appletviewer use always static linked java, if to use appletviewer,
need to modify $(JAVA_HOME)/bin/i686/green_threads/appletviewer
(to use dynamic linked java)

X-TT is free X font server for using Japanese TrueType Fonts.
(see http://www.ryukyu.ad.jp/~shin/linux/x-tt/)

but some silly probelms.
1. getText() is O.K. but setText() is NOT well.
2. Mouse drag selection is NOT well. String with japanese charcters
   in TextField/TextArea is NOT selected correctly.
3. when cursor moves in TextField, Japanese charcters is changed oftenly.
4. when japanese charcters input in TextArea, timing to show is very
   strange. But getText() is worked correctly.
   ex) to input 'NIHONNGO abcdef'
   when keyin 'ab' showen 'NI', keyin 'cd' showen 'HONN', ...

hope this helps.

Nozomi Matsumura
[EMAIL PROTECTED]



JDK 116 install question

1998-07-14 Thread Scot P. Floess

I recently posted a question about running more than one JVM where my
machine would thrash horribly.  I reinstalled RedHat Linux 5.0, the
latest glibc and v1 of  the JDK 1.1.6.  The performance difference was
incredible!  It ran acceptably without a JIT!

Now, another question:  after about an hour of use using javac and java,
I am now experiencing sig seg v coredumps.  The jre does not work either
- same problem.  I am willing to reinstall Linux, glibc and the JDK if
necessary.  Has anyone experienced this?

Thanks to all your help in advance!



JDK 116

1998-07-14 Thread daivid . morgan



I would like to run jdk 1.1.6 on a linux box. What do I need in terms of
software and where to I get it from ?

Many thanks in advance.



jdk1.1.6v2 problem...

1998-07-14 Thread Bruno Boettcher

hello,

just noticed a thing:
i began to implement a proggie on my laptop (jdk1.1.5, swing 1.0.2) and now
wanted to continue on my normal host, but at the first attempt my prog crashed
the 1.1.6v2 vm.

the inflicting part seems to be:
import java.awt.*;
import java.awt.event.*;


public class Bummer extends Dialog implements ActionListener

{
TextArea message;
Button ok;
 
 
 Bummer(Frame caller, String affiche)
 {
  super(caller,"Bummer",false);
  
message = new TextArea(affiche);
message.setBackground( Color.yellow);
//ok.setBackground( Color.yellow);
//message.setForeground( Color.green);
message.setEditable( false );
  
ok = new Button("Ok");
ok.addActionListener(this);
  
add("Center",message);
  add("South",ok);
  
pack();
  
  
 }
 Bummer(Frame caller, String affiche, Color fore, Color back)
 {
  super(caller,"Bummer",false);
  
message = new TextArea(affiche);
message.setBackground( back);
//ok.setBackground( back);
message.setForeground( fore);
//ok.setForeground( fore);
message.setEditable( false );
  
ok = new Button("Ok");
add("Center",message);
  add("South",ok);
  
pack();
  
  
 }
 
 
public void actionPerformed(ActionEvent e)
 {
  Object surQuoi = e.getSource();
  if (surQuoi == ok)
  {
dispose();
  }
  
 }
 
}

since when i click on the ok button, all crashes and form the log i see:
Exception occurred during event dispatching:
com.sun.java.swing.text.StateInvariantError: infinite loop in formatting
at
com.sun.java.swing.text.ParagraphView.rebuildRows(ParagraphView.java:
172)
at com.sun.java.swing.text.ParagraphView.layout(ParagraphView.java:128)
at com.sun.java.swing.text.BoxView.setSize(BoxView.java:129)
at com.sun.java.swing.text.BoxView.layout(BoxView.java:563)

coming from the JComponent.paint method..
so is it my code? a problem with my vm? (jdk1.1.6v2-glibc), maybe a known
problem with jdk1.1.6?

any hint welcome meanwhile i go back to my laptop :(
 
ciao
bboett
==
acount at earthling net 
http://erm6.u-strasbg.fr/~bboett
===
Unsolicited commercial email is NOT welcome at this email address
To contact me replace acount by bboett in above addresses



tya and jdk 1.1.6v2 ( was: NetBeans 2.0 beta with TYA )

1998-07-14 Thread James Hightower

Toni Nikkanen wrote:

> lots of these: TYA:CompiledCodeSignalHandler_hook--context at offset =60
>   0x42ca73b8 0xb
>   Signal catched by TYA: hook for 11

I got these too with Hotjava... It looks like 1.1.6v2 is using sig 11 to
detect double-freeing memory. Commenting out the EXCEPTION_BY_SIGNALS
define in tyaconfig.c and recompiling cured this problem for me.

JJH