Oracle Forms (MOSC)

MOSC Banner

Unable to read serial port in form builder 6i by importing java calsses

edited Aug 18, 2015 10:00AM in Oracle Forms (MOSC) 1 commentAnswered

I have a requirement. I have to read data from weigh bridge which is connected with computer and comm1. I have written a classes in java (PortRead.java) using java.comm api. when i call this class methods from java swing form i am getting the weight. But i want to get the weight in oracle form. I explore an option  in form builder "Import java" and this options works fine with other example (HelloWorld) classes. But when i import PortRead.java and call it's method from form builder i am getting non oracle exception . Which, later on i discovered was due to my program was unable to get ports from api call. I have configures all the required (.DLL,properties etc) files in my system. Same program is working when i run it from netbeans.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center