Author Topic: Not Work Blackdown Jdk1.3.1  (Read 3032 times)

bogy

  • Newbie
  • *
  • Posts: 3
    • View Profile
Not Work Blackdown Jdk1.3.1
« on: July 25, 2005, 12:59:11 pm »
I install pdaXrom RC10.
And blackdown jdk1.3.1 RC1.

cgoban (http://kgs.kiseido.com/cgoban-unix-2.6.12.tar.gz) is java program.
but it is not work on pdaXrom with many error message appear.

please teach me, how to java program running on zaurus?

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Not Work Blackdown Jdk1.3.1
« Reply #1 on: July 25, 2005, 01:11:24 pm »
Quote
I install pdaXrom RC10.
And blackdown jdk1.3.1 RC1.

cgoban (http://kgs.kiseido.com/cgoban-unix-2.6.12.tar.gz) is java program.
but it is not work on pdaXrom with many error message appear.

please teach me, how to java program running on zaurus?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hi,

I managed to get the blackdown VM running on my SL-5500 with pdaXrom.
You can see a screenshot at:

[a href=\"https://www.oesf.org/forums/index.php?showtopic=11214&pid=89371&st=30&#entry89371]https://www.oesf.org/forums/index.php?showt...=30&#entry89371[/url]

I had to comment out a method call in the ColorChooserDemo.java example, as it
was mostl likely written for J2SE  v1.4.2.  If I get some time during the week, I
will be installing blackdown again, and can try the program you posted a
link to.

In the meantime, if you post the errors, I will be happy to look at them.  Perhaps the
program using features that were added after 1.3.1.  In the case of the
JAVA Swing Tutorial demo above, only the following line needed to be commented out:

JFrame.setDefaultLookAndFeelDecorated(true);

Were you able to run other JAVA programs?
I'm running on the SL-5500, but I would expect JAVA to behave the same
on whatever model you have.

John
« Last Edit: July 25, 2005, 09:06:12 pm by miskinis »
_John Miskinis_

bogy

  • Newbie
  • *
  • Posts: 3
    • View Profile
Not Work Blackdown Jdk1.3.1
« Reply #2 on: July 26, 2005, 09:49:47 am »
Hi

Maybe, it is thought that pdaXrom is a cause because there was no problem when jdk is put in the Qt/X environment.


The following error was displayed in pdaXrom RC10 and 6 buttons that is sure to exist is not displayed.

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 1640
   at java.awt.TexturePaintContext$Int.setRaster(TexturePaintContext.java:363)
   at java.awt.TexturePaintContext.getRaster(TexturePaintContext.java:194)
   at sun.java2d.pipe.AlphaPaintPipe.renderPathTile(AlphaPaintPipe.java:66)
   at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:49)
   at sun.java2d.pipe.SpanShapeRenderer.renderRect(SpanShapeRenderer.java:187)
   at sun.java2d.pipe.SpanShapeRenderer.fill(SpanShapeRenderer.java:133)
   at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:115)
   at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:1616)
   at iC.paint(cgoban:215)
   at javax.swing.JComponent.paintChildren(JComponent.java:498)
   at javax.swing.JComponent.paint(JComponent.java:696)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:546)
   at javax.swing.JComponent.paintChildren(JComponent.java:498)
   at javax.swing.JComponent.paint(JComponent.java:669)
   at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23)
   at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:54)
   at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91)
   at java.awt.Container.paint(Container.java:960)
   at fP.paint(cgoban:177)
   at javax.swing.JFrame.update(JFrame.java:329)
   at sun.awt.RepaintArea.update(RepaintArea.java:337)
   at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:353)
   at java.awt.Component.dispatchEventImpl(Component.java:2663)
   at java.awt.Container.dispatchEventImpl(Container.java:1213)
   at java.awt.Window.dispatchEventImpl(Window.java:914)
   at java.awt.Component.dispatchEvent(Component.java:2497)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:1
1)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
java.awt.AWTException: cannot open XIM
   at sun.awt.motif.X11InputMethod.<init>(X11InputMethod.java:148)
   at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescripto
.java:78)
   at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691)
   at sun.awt.im.InputContext.getInputMethod(InputContext.java:641)
   at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193)
   at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177)
   at java.awt.Component.dispatchEventImpl(Component.java:2527)
   at java.awt.Container.dispatchEventImpl(Container.java:1213)
   at java.awt.Window.dispatchEventImpl(Window.java:914)
   at java.awt.Component.dispatchEvent(Component.java:2497)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:1
1)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

miskinis

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
    • http://
Not Work Blackdown Jdk1.3.1
« Reply #3 on: July 26, 2005, 01:22:32 pm »
Hi,

Wow, I was expecting to see "class not found" exceptions, this is unexpected.

I believe the folllowing exception is the "main" one preventing the application
from running properly.

   java.awt.AWTException: cannot open XIM

This is indicating that something is going wrong with the
"X11 Input Method", and I can't offer much help on this one.
I'm almost done setting up my SL-5500 with pdaXrom and
blackdown, so soon I will let you know if that application runs,
or produces the same exception(s) on my "linux box".

John
_John Miskinis_

bogy

  • Newbie
  • *
  • Posts: 3
    • View Profile
Not Work Blackdown Jdk1.3.1
« Reply #4 on: July 27, 2005, 11:12:48 am »
hi

I was similar though I had made the execution result of pdaxrom displayed in X
terminal of PC by the following command.

DISPLAY=XTermAddr:0.0 ./cgoban

It is thought that it is not in the problem of X11 because there is no change even
if mounting X11 is changed in a word.

It doesn't operate in the combination of jdk1.3.1 and pdaxrom though it operates similarly in the combination of jdk and X/Qt. Therefore, it is thought that there is a problem in pdaxrom.

Therefore, a similar problem will occur in SL-5500 with pdaXrom.
(It might be a problem only of RC10 possibly. )

The following library was put at X/Qt.

libBrokenLocale.so libXm.so libXp.so libstdc++-libc6.2-2.so.3
and
libfloat

Is there a problem around here? Or, is it a relation of the floating point?



Or...

I found http://www.handhelds.org/hypermail/familiar/199/19992.html
by google (keyword:"cannot open XIM" xserver)

Xfbdev ??
Is the cause in xserver?


UMmmm....
« Last Edit: July 28, 2005, 09:22:06 am by bogy »