Questions tagged [j9]

IBM's J9 Java Virtual Machine

IBM's J9 Java virtual machine which powers the IBM Java SDK.

39 questions
23
votes
3 answers

Memory leaking without objects growing in number or size

On an IBM iSeries system, I have a Java program running - an application server with a web server component, all in-house developed. When running on the 32 bit or 64 bit J9 JVM (IBM Technology for Java) I have symptoms of a memory leak. Note that…
Lawrence Dol
  • 63,018
  • 25
  • 139
  • 189
15
votes
3 answers

Downloading IBM J9 JDK

I have the following questions on IBM J9 JDK/JRE. Does any one know the location where I can download the latest J9 JDK? I googed it and couldn't find the location. What is the relation between IBM J9 JDK and Apache Harmony project? Thank you.
M99
  • 1,859
  • 10
  • 28
  • 50
12
votes
8 answers

Where can I find a particular version of the IBM JDK/JRE for Windows?

I'm trying to get a rather JDK-sensitive piece of Oracle software working with Websphere, and I need to find some particular versions of the IBM JDK to try. The problem is that IBM doesn't really make these readily available like Sun/Oracle does…
Kaypro II
  • 3,210
  • 8
  • 30
  • 41
9
votes
2 answers

Java UTF-8 filenames with IBM JVM (AIX)

I'm having trouble understanding the way the IBM JVM's implementation of java.io.File deals with UTF-8 on AIX on the JFS2 filesystem. I suspect there's a system property that I'm overlooking, but I have not yet been able to find it. Let's assume I…
Edward Thomson
  • 74,857
  • 14
  • 158
  • 187
3
votes
2 answers

Using JNA with IBM J9 JVM

The first difficulty in using JNA with J9 is that the J9 JVM does not include the java.awt package and the Native class imports a few classes from this package. This is easily overcome by downloading the JNA source, ripping out these imports and…
Jonathan Schneider
  • 26,852
  • 13
  • 75
  • 99
3
votes
2 answers

create an installer for windows mobile

I have developed an application using J9 that runs in windows mobile. but now I want it to package in a single installer(.cab), that should copy the J9 files, my application and its dependencies to a folder in the mobile, and creates some…
4NDR01D3
  • 155
  • 2
  • 10
3
votes
1 answer

IBM J9 Java 6 bundled com.sun.imageio.plugins.jpeg.JPEGImageReader

Simple question: Is the IBM J9 Java 6 bundled class com.sun.imageio.plugins.jpeg.JPEGImageReader exactly the same as the class with the same package/class name in a standard Sun/Oracle JRE? (And if it is, is it using the same native/JNI…
Harald K
  • 26,314
  • 7
  • 65
  • 111
2
votes
2 answers

Java - Read output stream of existing process

I need to read the output of a process running on IBM j9 (emulator JVM to windows mobile). I tried this: Process p = Runtime.getRuntime().exec("j9.exe"); BufferedReader br = new BufferedReader(new InputStreamReader( …
Namor Alves
  • 143
  • 1
  • 12
2
votes
0 answers

InvalidKeyException from Mac.init() when used with empty key on IBM J9

I am trying to initialize a Mac instance using an empty key. But it is failing with "InvalidKeyException". Following is the snippet of code working with Oracle Java, but giving exception with IBM J9. . Can someone please help me in resolving the…
2
votes
1 answer

Access violation on calling j9port_startup_library

I have build openj9 for Windows using these instructions: https://github.com/eclipse/openj9/blob/master/buildenv/Build_Instructions_V8.md#windows When I try the following code (Visual Studio 2017): J9PortLibraryVersion…
Remko
  • 7,214
  • 2
  • 32
  • 52
2
votes
1 answer

How can I get debug information printed on a J9 VM (Linux)?

I'm using J9 VM to run my application on a Linux machine (BusyBox). When developing and testing on my Windows environment, also with J9, I get full debug information on stack traces. That doesn't happen on the Linux machine. I've checked both VMs…
David Santos
  • 151
  • 8
2
votes
1 answer

JDBC via BPXBATCH - how to get TSO-user credentials?

I have a little java program that reads a db2 table via jdbc. This program is invoked via "tso bpxbatch myjavatool". I wonder if there is the possibility to "pass" the username/password of my TSO user to the JDBC driver? For example, if I connect to…
Klaus Schulz
  • 527
  • 1
  • 5
  • 20
2
votes
2 answers

What's the default heap size for IBM's J9VM?

I have IBM's J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3) installed. After getting an OOM, the size of the heap dump is 383MB. How much heap does the JVM have? The reason why I ask is that a 400MB heap dump seems a bit much for the default 64MB heap…
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
1
vote
1 answer

Attaching to the J9VM using the Attach API

What is the correct way to attach to IBM's J9VM using the Java Attach API? I am trying the following (with having the JDK's tools.jar in my classpath): private static final J9AttachProvider ATTACH_PROVIDER = new J9AttachProvider(); ...snip... …
fr1zle
  • 327
  • 1
  • 3
  • 8
1
vote
1 answer

Mat Eclipse - Java byte 2GB with no GC roots

I am trying to debug large byte object which is 2GB and seems to contain nulls only. I cannot find any GC roots when using Eclipse MAT. The JVM is running IBM J9 in websphere. Any ideas why Eclipse MAT is not showing any GC roots, hard or…
Tommys
  • 121
  • 8
1
2 3