Home > MS Windows, OS > The Oracle JInitiator refresh issue.

The Oracle JInitiator refresh issue.

Applications (such as Micros Opera) created for OAS (Oracle Application Server) often use also Oracle JInitiator (a JVM made and distributed by Oracle, it allows a web enabled Oracle Forms client application to be run inside a web browser).
While there were no problems with Windows XP, there seems to be an issue on Windows 7 running the Intel Core i3 and Core i5 processors where the JInitiator will load, but it won’t refresh or repaint its windows. In my case, when I resized the window or double clicked the title bar, it would repaint the screen, refreshing the content in the window. However, I would have to do that step every time I wanted something to happen in the window.
To make a long story short, the problem is with the new Intel HD graphics with dynamic frequency technology and I know two solutions.

Solution 1.
You basically have to go into the power savings for Windows 7, edit the power plan and set the Intel Graphics to “Maximum Performance” which turns off the Dynamic Frequency.
If you have a computer that has it’s own power saving software (or Intel graphics software) you have to make a little research on your own. If you are using the stock Windows 7 power settings, you can do the following:
– click Start
– in the search box, type Power Options and hit enter
– chances are, the radio dot is on the Balanced (recommended) settin, click on the Change plan settings link to the right for whatever plan is selected
– click the Change advanced power settings link
– in the advanced options, scroll down until you find Intel Graphics and click on the + next to it
– you should see two options below the Intel Graphics: Plugged In and On Battery, set both of these to Maximum Performance
apply and OK, then you can close everything else down.

Solution 2.
The solution is to disable DirectDraw for jInitiator. To do this, go to Control Panel, jInitiator and then in Basic label add

-Dsun.java2d.noddraw=true

to Java Runtime Parameters field.
Alternatively, you may edit jInitiator properties file located somewhere in C:\Users\USERNAME\.jinit folder so it has this line in it (notice ‘=’ character is escaped):

javaplugin.jre.params=-Dsun.java2d.noddraw\=true

Good luck 🙂

Advertisements
Categories: MS Windows, OS Tags: , , ,
  1. 2013-03-21 at 22:06

    Thank you so much!! It’s hard using this old buggy software but thanks to your post I have it working find on a brand new machine with the latest version of Java.

  2. 2014-11-06 at 17:27

    Thank you!
    The Solution 2, totally helped me on my job.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: