Java on QNX?

Hello!

I was under the impression that QNX had useable
support for Java and that the VM would profit
of QNXs realtime capabilities.

Well - after installation, I could not find any
Java-related stuff in the repository, and a
search returned only a link to some IBM Java
page (one that didn’t work in Voyager).

Honestly - I’m somewhat confused. Please help
me by clearing up these points:

Is there support for the standard, personal or
micro edition of Java on QNX?
Which version of Java is supported?
Can I get a J2SDK to run on QNX(x86)?
Can I use the IDE of QNX for Java development?
Inhowfar can I profit of realtime capabilities
under Java?
Why are the downloads at the IBM website labelled
to be for Linux and Windows, but not for QNX
itself?


Thank you,
Jens

I’m finding the Visual Age JRE that came with QNX 6.1.0 (it’s installed
in /opt/vame) works for our Java application (once we adaped to it being
called ``j9’’ instead of jre or java, and its own special command line
options).

And speaking of command line options, if anyone knows how to tell j9
to run with a larger maximum Java heap size (it’s set with the -mx
option on a normal JRE), please post it.

Thanks,

/jwc

In article <3B6B9643.8010504@gamemakers.de>, jeti <_jens_@gamemakers.de>
wrote:

I was under the impression that QNX had useable
support for Java and that the VM would profit
of QNXs realtime capabilities.

Well - after installation, I could not find any
Java-related stuff in the repository, and a
search returned only a link to some IBM Java
page (one that didn’t work in Voyager).

Honestly - I’m somewhat confused. Please help
me by clearing up these points:

Is there support for the standard, personal or
micro edition of Java on QNX?
Which version of Java is supported?
Can I get a J2SDK to run on QNX(x86)?
Can I use the IDE of QNX for Java development?
Inhowfar can I profit of realtime capabilities
under Java?
Why are the downloads at the IBM website labelled
to be for Linux and Windows, but not for QNX
itself?

Try running j9 with the -X option. This will give you a list of the
non-standard options, of which -mx is included.

Charlie

In article <9kmb3j$fh0$1@inn.qnx.com>, Charlie_Surface@oti.com wrote:

Try running j9 with the -X option. This will give you a list of the
non-standard options, of which -mx is included.

Thanks for the pointer. I’ve got it working with my large runs now,
using ``-mx:100000’’ (I’d been trying -mx without the `:’, which it
ignored).

But -X option isn’t getting me any more info on options–I get the
same usage message as just running j9 with no options. (It’s
reporting J9 version 1.3, Target 20001207A.)

/jwc

I know that the -X option will display non-standard VM options for version
1.4. I guess it was not yet supported for 1.3.

Charlie

See below for some answers


jeti <_jens_@gamemakers.de> wrote in message
news:3B6B9643.8010504@gamemakers.de

Hello!

I was under the impression that QNX had useable
support for Java and that the VM would profit
of QNXs realtime capabilities.

Well - after installation, I could not find any
Java-related stuff in the repository, and a
search returned only a link to some IBM Java
page (one that didn’t work in Voyager).

Honestly - I’m somewhat confused. Please help
me by clearing up these points:

Is there support for the standard, personal or
micro edition of Java on QNX?
My guess would be that it is micro edition; however, they have ported some

AWT classes and I didn’t think they were classified as “micro-edition”.

Which version of Java is supported?
So far I was able to run stuff compiled with the Java2 compiler



Can I get a J2SDK to run on QNX(x86)?
There is no SDK that can run on QNX6.1. Just a virtual machine.



Can I use the IDE of QNX for Java development?
I was not aware that there was an IDE available for QNX. Are you talking

about PhAB? In any case, probably not. What you need to do is build your app
using a Java IDE on a different
platform and then run it on QNX using the J9 VM. IBM provides VisualAge
MicroEdition which runs on Windows or Linux. I haven’t use it much but it
probably makes it easier to debug and
run your app from the IDE (not sure about that). Also you can use the same
environment to test for PalmOS if that helps you.
So far I haven’t used an IDE for Java. The way they have recently packaged
it (ie the VM is distributed with QNX), you can use whatever IDE you want
and run it on QNX without too much
trouble.

Inhowfar can I profit of realtime capabilities
under Java?
Not sure.
Why are the downloads at the IBM website labelled
to be for Linux and Windows, but not for QNX
itself?
That’s because it is for the IDE.

You can probably find more of your answers under the following newsgroup:
news.software.ibm.com::ibm.software.vame

Thank you,
Jens

On Wed, 8 Aug 2001 10:02:30 -0700, “Sylvain Marcotte”
<smarcotte@vortek.com> wrote:

Is there support for the standard, personal or
micro edition of Java on QNX?
My guess would be that it is micro edition; however, they have ported some
AWT classes and I didn’t think they were classified as “micro-edition”.

VisualAge Micro Edition 1.4 is certified for J2ME (CLDC and MIDP).
However, from a UI standpoint, to use the AWT support you’re looking
at a PersonalJava level, which requires the “Custom Configurations”,
not J2ME.

Which version of Java is supported?
So far I was able to run stuff compiled with the Java2 compiler

VAME 1.3 is at JDK 1.2.2. VAME 1.4 is JDK 1.3.



Inhowfar can I profit of realtime capabilities
under Java?

You can download support for Realtime Extensions from
www.embedded.oti.com. This is beta. Look in the “Technologies” section
in the download zone.

Not sure.
Why are the downloads at the IBM website labelled
to be for Linux and Windows, but not for QNX
itself?
That’s because it is for the IDE.

You need to look under the “Runtimes” section in the download zone.

You can probably find more of your answers under the following newsgroup:
news.software.ibm.com::ibm.software.vame



Thank you,
Jens