Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Wednesday, October 12, 2016

Pausing Peoplecode Processing Using Java Class

Honestly, in my years and years of developing in PeopleSoft, I probably used this java class tips to pause my peoplecode processing time twice as far as I remember.

When I need it, this one comes pretty handy:

GetJavaClass("java.lang.Thread").sleep(1000);

Note: 1000 is in milliseconds, which equates to 1 second sleep time.

Thursday, April 30, 2015

Ah! That's where the SQL Developer pathname for java.exe is!

I keep forgetting where the java.exe located in my Oracle client, so I left myself a note here ;)

When opening a SQL Developer for the first time after the new client installed, you will get a prompt like this below:


The path is pretty simple, but if you have to install the Oracle client every once a while, finding the specific file can be frustrating.

Here it is:
C:\Oracle\client\product\12.1.0\client_1\jdk\bin\java.exe

Note: your Oracle home path may be different from mine above.