which linux/chip?

1999-01-11 Thread David Thompson


Hello,

I am struggling with a decision that some have
probably been through, or are currently experiencing:

If one wishes to run Linux and write Java code
(including, the potential of the java 3d api),
should one get and x86 and run RedHatx (and or another
x86 flavor), or should one go with a PowerPC and run 
LinuxPPC (or MkLinux).

My concern is primarily with the prospect of future
java support (for access to the latest), in Linux. 
I have a leaning toward getting a PowerPC for gut 
reasons. But, I am having difficulty determining
the current pulse regarding the commitment to
java on PowerPC's. I realize that Java 2 will soon
be out for both x86 and PPC, but is there any indication
that the PPC will be java supported into the future? 
I realize that there is no guarantee, I am just looking
for indications.

Other issues of interest are the future prospects
of java 3d on x86 and PowerPC linux versions. 
Are there 3D accelerator drivers currently in the
works for Linux OpenGl api type graphics, that
java 3d can take advantage of. If so, do/will there
be drivers for the PPC as well as the x86 chips.
And is there a port of the java 3d api to linux/(Mesa 
or other OpenGl api) in the works?

I realize that these are a common brand of questions, 
but I have not found them asked this directly in the FAQ's.

Also, how does someone go about providing donations to
support the java/linux efforts, in order to perpetuate 
the trend?

Thank you
respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_





Re: which linux/chip

1999-01-12 Thread David Thompson


Thank you Kevin,

for the direct, well put, inside inforamation.

The remaining hitch for me (and others 
that I know) is the question of java 3d
on these different platforms.
Will blackdown be working on the java 3d
port as well? And is there any reason
to believe that java 3d will be working
with x86 long before it works on the PPC?

I would appreciate any inforamtion on this
issue.

respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_





Vector?

1999-03-11 Thread David Thompson


Colleagues,

Have the collection classes for java been completed
to fit the API? I have installed jdk1.2 on my RH5.2 
system, and compiled some simple programs to see
that it works. Then I attempted to compile some 
of my work that made heavy use of java.util.Vector
and the compiler complained that java.util.Vector
does not have an add(Object object) method. I
then tried to replace the java.util.Vector with
java.util.ArrayList as a work around. The compiler
could not find java.util.ArrayList . 

I then decided to unpack the src.jar to see if these
pieces were in the src, but when trying to run jar,
the response indicated that there was no make method
for jar?

I am sure there is a simple explanation. If someone
would educate me, I would appreciate the information.

(I checked the FAQ and mail archives and did not find
these issues addressed).


Thank You
Respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_




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



Re: Vector?

1999-03-11 Thread David Thompson


Thank you for the comments James.

Yes, This is a good thing to be careful of.
I have a fresh installation of RH5.2. It may
be that a previous version of java came with
the operating system. However, I have set my
PATH to include jdk1.2/bin. I will check this
point more closely. It had not occured to me
that RH5.2 would come with java pre-installed.
Sorry for taking your time if the problem is
this simple.

Respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


On Thu, 11 Mar 1999, James Seigel wrote:

> 
> Have you made sure your classpath and all that stuff left over from your
> previous adventures in java have been cleaned up?
> 
> LD_LIBRARY_PATH
> CLASSPATH
> JAVA_HOME
> 
> Just making sure. cause you maybe referencing the wrong set of classes by
> accident.
> 
> Cheers
> James.
> 
> Pooh Bear -- "I am just a bear of little brain"
> 
> 
> On Thu, 11 Mar 1999, David Thompson wrote:
> 
> > 
> > Colleagues,
> > 
> > Have the collection classes for java been completed
> > to fit the API? I have installed jdk1.2 on my RH5.2 
> > system, and compiled some simple programs to see
> > that it works. Then I attempted to compile some 
> > of my work that made heavy use of java.util.Vector
> > and the compiler complained that java.util.Vector
> > does not have an add(Object object) method. I
> > then tried to replace the java.util.Vector with
> > java.util.ArrayList as a work around. The compiler
> > could not find java.util.ArrayList . 
> > 
> > I then decided to unpack the src.jar to see if these
> > pieces were in the src, but when trying to run jar,
> > the response indicated that there was no make method
> > for jar?
> > 
> > I am sure there is a simple explanation. If someone
> > would educate me, I would appreciate the information.
> > 
> > (I checked the FAQ and mail archives and did not find
> > these issues addressed).
> > 
> > 
> > Thank You
> > Respectfully
> > dt
> >
> > _
> > David R.Thompson
> > Los Alamos National Laboratory
> > TSA 5
> > wk.ph:505.665.5572 
> > email:  [EMAIL PROTECTED]
> > _
> > 
> > 
> > 
> > 
> > --
> > 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: JDK1.2 fails to start

1999-03-15 Thread David Thompson


colleagues,

When starting my GUI based programs they 
flash the window on the screen, then the
window disappears and exits. There is 
no error message, the GUI thread just
seems to die. I have made a simple program
(in case the problem is something complex with my 
other programs) that just makes a JFrame (500X500) 
and sets it to visible. It has the same problem.
When I run it in jdb, when it exits it simply
says that the main thread died, continuing, 
then it says something about communications
has stopped. Then I am returned to a normal
command prompt, not in jdb. 

I have spent an hour or so with the archive and have
seen another message similar to this effect with 
no reply. It was posted regarding 1.1.6, but I am
using jdk1.2 and RH5.2.

Help would be appreciated.

Thank you
respectfully
David R. Thompson
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_




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



disappearing windows

1999-03-15 Thread David Thompson


 
colleagues,

When starting my GUI based programs they 
flash the window on the screen, then the
window disappears and exits. There is 
no error message, the GUI thread just
seems to die. I have made a simple program
(in case the problem is something complex with my 
other programs) that just makes a JFrame (500X500) 
and sets it to visible. It has the same problem.
When I run it in jdb, when it exits it simply
says that the main thread died, continuing, 
then it says something about communications
has stopped. Then I am returned to a normal
command prompt, not in jdb. 

I have spent an hour or so with the archive and have
seen another message similar to this effect with 
no reply. It was posted regarding 1.1.6, but I am
using jdk1.2 and RH5.2.
 
Help would be appreciated.

Thank you
respectfully
David R. Thompson
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


> 
> 
> --
> 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: JDK1.2 fails to start

1999-03-15 Thread David Thompson


Urban

I am not using these flags. However, I am setting
the environment variable THREADS_FLAG to "green".

dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


On Mon, 15 Mar 1999, Urban Widmark wrote:

> On Mon, 15 Mar 1999, David Thompson wrote:
> 
> > 
> > colleagues,
> > 
> > When starting my GUI based programs they 
> > flash the window on the screen, then the
> > window disappears and exits. There is 
> > no error message, the GUI thread just
> > seems to die. I have made a simple program
> 
> Are you running green threads with:
> -green -Djava.compiler=
> ?
> 
> /Urban
> 
> ---
> Urban Widmark   [EMAIL PROTECTED]
> Svenska Test AB +46 90 71 71 23
> 
> 


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



Re: disappearing windows

1999-03-15 Thread David Thompson


Thank you Peter, I will give this a try.
I am sure you understand the difficulty
in finding messages when it is not clear 
which keys to search in the archive.
I have found this problem a couple times in
the process of getting started on java-linux.

When I get it going, I plan to garner the email
messages that have been particularly useful in
getting started into a single message. I will
send it to the group to have them all in a single
message for the archive. 

Thank You for your input.
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


On Mon, 15 Mar 1999, Peter Graves wrote:

> Sounds like you might be using -green but not specifying
> -Djava.compiler= to disable the JIT.  This is a known problem.
> 
> -Peter
> 
> David Thompson wrote:
> > 
> > 
> > colleagues,
> > 
> > When starting my GUI based programs they
> > flash the window on the screen, then the
> > window disappears and exits. There is
> > no error message, the GUI thread just
> > seems to die. I have made a simple program
> > (in case the problem is something complex with my
> > other programs) that just makes a JFrame (500X500)
> > and sets it to visible. It has the same problem.
> > When I run it in jdb, when it exits it simply
> > says that the main thread died, continuing,
> > then it says something about communications
> > has stopped. Then I am returned to a normal
> > command prompt, not in jdb.
> > 
> > I have spent an hour or so with the archive and have
> > seen another message similar to this effect with
> > no reply. It was posted regarding 1.1.6, but I am
> > using jdk1.2 and RH5.2.
> > 
> > Help would be appreciated.
> > 
> > Thank you
> > respectfully
> > David R. Thompson
> > 
> > _
> > David R.Thompson
> > Los Alamos National Laboratory
> > TSA 5
> > wk.ph:505.665.5572
> > email:  [EMAIL PROTECTED]
> > _
> > 
> > >
> > >
> > > --
> > > 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]
> 




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



Re: AWT Crash - Need Help!

1999-03-26 Thread David Thompson


S Balamurugan,

I have had a similar problem. I installed 1.2 on my
RH5.2, ran the script to set up my system with the
proper library links, and added the necessary fonts. When
I run my applications that are gui intensive, either
in native threads or with green threads (with JIT off), 
my not fully drawn gui appears, waits a few seconds, then
crashes with the full thread dump . I have been waiting to see
if someone else is having the problem, or for an updated
released that may solve the problem. 

Also, I have 128M of memory. I would suspect that this 
is enough.

We may need to be patient and see what happens?

respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


On Thu, 25 Mar 1999, Carlos Alberto Roman Zamitiz wrote:

> I copied your program in my linux box pentium 75 MHz Red Hat 4.2 and VM
> 1.1.5 and worked very well.
> 
> I supposed your computer has few memory because I wrote this code in a
> work station HP and it crashed and generated a core file. In other WS HP
> with more memory and the frame worked well.
> 
> greetings
> 
> On Wed, 24 Mar 1999, S Balamurugan wrote:
> 
> > Hi,
> > 
> >  I have jdk1.1.7 installed on my Linux m/c. javac compiles fine, but
> >  when I try to run applications with user interface it crashes with
> >  a SEGV. 
> > 
> > The code is 
> > --
> > import java.awt.*;
> > import java.awt.event.*;
> > 
> > public class hwapp1
> > {
> >  public static void main(String[] args)
> >   {
> >Frame F = new Frame("Hello World");
> >F.add(new Label("Hello World!!"));
> >F.pack();
> >F.setVisible(true);
> >   }
> > }
> > --
> > 
> > SIGSEGV   11*  segmentation violation
> > stackbase=BF9FFD5C, stackpointer=BF9FF82C
> > 
> > Full thread dump:
> > "AWT-Motif" (TID:0x406624a8, sys_thread_t:0x820e8a8, state:CW,
> > thread_t: t@5125, sp:0x0 threadID:0x3377, stack_base:0xbf1ffd68,
> > stack_size:0x20) prio=10
> > java.lang.Thread.run(Thread.java)
> > "AWT-EventQueue-0" (TID:0x406624b8, sys_thread_t:0x81f21b8,
> > state:CW, thread_t: t@4100, sp:0x0 threadID:0x3376,
> > stack_base:0xbf3ffd68, stack_size:0x20prio=10
> > java.lang.Object.wait(Object.java)
> > java.awt.EventQueue.getNextEvent(EventQueue.java:158)
> > java.awt.EventDispatchThread.run(EventDispatchThread.java:75)
> > "SIGQUIT handler" (TID:0x4065e2a0, sys_thread_t:0x81a59d0, state:R,
> > thread_t: t@3075, sp:0x0 threadID:0x3375, stack_base:0xbf5ffd68,
> > stack_size:0x20) prio=10
> > "Finalizer thread" (TID:0x4065e088, sys_thread_t:0x81a5948,
> > state:CW, thread_t: t@2050, sp:0x0 threadID:0x3374,
> > stack_base:0xbf7ffd68, stack_size:0x20) prio=10
> > "main" (TID:0x4065e0b0, sys_thread_t:0x8186938, state:R, thread_t:
> > t@1025, sp:0x0 threadID:0x3373, stack_base:0xbf9ffd5c,
> > stack_size:0x20) prio=0 *current thread*
> > sun.awt.motif.MComponentPeer.(MComponentPeer.java:108)
> > sun.awt.motif.MCanvasPeer.(MCanvasPeer.java:39)
> > sun.awt.motif.MPanelPeer.(MPanelPeer.java:33)
> > sun.awt.motif.MFramePeer.(MFramePeer.java:71)
> > sun.awt.motif.MToolkit.createFrame(MToolkit.java:129)
> > java.awt.Frame.addNotify(Frame.java:204)
> > java.awt.Window.pack(Window.java:128)
> > hwapp1.main(hwapp1.java:22)
> > Monitor Cache Dump:
> > java.awt.EventQueue@1080435264/1080799856: 
> > Waiting to be notified:
> > "AWT-Motif" (0x820e8a8)
> > java.lang.Object@1080434784/1080793848: owner "main" (0x8186938, 1
> > entry)
> > Registered Monitor Dump:
> > Thread queue lock: 
> > Name and type hash table lock: 
> > String intern lock: 
> > JNI pinning lock: 
> > JNI global reference lock: 
> > BinClass lock: 
> > Class loading lock: 
> > Java stack lock: 
> > Code rewrite lock: 
> > Heap lock: 
> > Has finalization queue lock: 
> > Finalize me queue lock: 
> > Waiting to be notified:
> > "Finalizer thread" (0x81a5948)
> > Monitor registry: owner "main" (0x8186938, 1 entry)
> > Abort
> > 
> > Attached is the output of ldconfig -D
> > I am running Red Hat Linux 5 and JDK 1.1.7 glibc
> > 
> > Any help would be greatly appreciated.
> > Thanks
> 
> Carlos Alberto Roman Zamitiz
> Departamento de Ingenieria en Computacion, Facultad de Ingenieria, UNAM
> [EMAIL PROTECTED]
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTE

Re: JDK1.2 and Swing

1999-05-11 Thread David Thompson


Armen,

I had a similar problem. After handling all of the
"know bugs", Swing applications would fail but
awt was ok. It was suggested to me that the configuration
of my Xserver may be a problem. The suggestion was to
move to 16 bit color (not 24 or 32) on the XFree86. It was also 
pointed out that this problem went away for someone
that changed their Xserver to AcceleratedX (a product
of Xi Graphics). The latter is what I had experienced.
I had already ordered AcceleratedX, and when I 
installed it, the Swing components started working.

I hope this is of use.

respectfully 
David R. Thompson
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_


On Tue, 11 May 1999, Armen Yampolsky wrote:

> Hi --
> 
> I've noticed a very strange phenomenon: If I attempt to run a swing app
> using JDK1.2, I always get the following exception:
> 
> Exception occurred during event dispatching:
> java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width
> = 198 height = 78 #numDataElements 1 is incompatible with ColorModel
> DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0
> at java.awt.image.BufferedImage.(BufferedImage.java:521)
> at sun.awt.image.OffScreenImage.(OffScreenImage.java:70)
> at
> sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:286)
> at java.awt.Component.createImage(Component.java:2079)
> at java.awt.Component.createImage(Component.java:2077)
> at
> javax.swing.RepaintManager.getOffscreenBuffer(RepaintManager.java:517)
> at javax.swing.JComponent.paint(JComponent.java:506)
> at java.awt.Container.paint(Container.java:770)
> at javax.swing.JFrame.update(JFrame.java:255)
> at
> sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:248)
> at java.awt.Component.dispatchEventImpl(Component.java:2429)
> at java.awt.Container.dispatchEventImpl(Container.java:1032)
> at java.awt.Window.dispatchEventImpl(Window.java:714)
> at java.awt.Component.dispatchEvent(Component.java:2289)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
> 
> ( BTW, I am also setting the os.name property to something like SunOS or
> Windows, because otherwise I get a NullPointerException -- the UIManager
> can not find the UIDefaults in the Hashtable.)
> 
> This occurs when I run the Blackdown port locally, and also when I run
> the app on a Solaris box and set the remote display. My code simply
> instantiates a blank JFrame and sets its bounds. I had the same problem
> with a RedHat 5.1 and now the RedHat 6.0 system. The error does not
> occur when I use awt only. Nothing of the sort occured with JDK1.1.7 and
> the latest swing release.
> 
> My window manager is WindowMaker 0.51. I am using GNOME, from the RedHat
> 6 dist.
> 
> My code looks like this:
> 
> 
>  begin TestFrame.java --
> import java.awt.*;
> import java.awt.event.*;
> import javax.swing.*;
> 
> public class TestFrame extends JFrame
> {
> 
>  public TestFrame(String title)
>  {
>   super(title);
> 
>   addWindowListener(new WindowAdapter()
> {
>  public void windowClosing(WindowEvent e)
>  {
>   TestFrame.this.dispose();
>   System.exit(0);
>  }
> });
> 
> 
>   setBounds(250,250,200,100);
>   setBackground(Color.white);
>   show();
>  }
> 
>  public static void main(String[] args)
>  {
>  try
>  {
> 
> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
>  }
>  catch (Exception ex_ignored)
>  {
>  // default l&f left in place
>  }
> 
>  new TestFrame("Test");
>  }
> }
> - end -
> 
> 
> --
> Armen Yampolsky
> Axiom Software Labs
> New York
> 
> 
> 
> --
> 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]