New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

Java Font Encoder Class Error Registry Issue

We are using the QR Code Font and Encoder to encode data with the class and jar files provided by IDAutomation. We are following the Oracle BIP EBS Integration Guide. We have compiled the Java file and registered the Java program as a Concurrent Program in the Oracle EBS Application and scheduled the program, but unfortunately, the Java concurrent program is ending with an error:
"/qrcode/barcodeutilQRCode : Unsupported major.minor version 51.0"
Please find the attached log file showing the error.
Please tell us the reason for the issue we are facing.
Thanks in advance!


Attachments:

05-24-22     2.5 year(s) ago    

  Report Abuse

 

Ben

Best Answer

Compile the barcodeutilQRCode.java into a new class to specifically target the version. The major version 51 is Java 7.

Example:
javac -target 1.7 barcodeutilQRCode.java

Ensure that the class is compiled in a version lower or the same as the one in which the project is run.

Posted 2.5 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (7)
Hi Team,

Thanks for your support.

Currently, we are not facing any issues which are mentioned above in this thread. The issue that we got earlier was due to the wrong registration of the Java class file in the Oracle EBS application and the same was corrected by some of our team members. Other than this we didn't modify anything.

Posted 2.4 year(s) ago

(0)
(0)
   Report Abuse
Our Oracle developer is out of the office until Tuesday. However, I did do some research on this error and it looks like a problem accessing a class that is not public. Try to make the class you are compiling public. If that does not work, try to call setAccessible(true) before.

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
Hi Team,

we are getting this following error in xdo.log file [052722_090126966][][ERROR] java.lang.IllegalAccessException: Class oracle.apps.xdo.template.rtf.util.XDOBarcodeUtil can not access a member of class oracle.xdo.template.rtf.util.qrcode.barcodeutilQRCode with modifiers ""

Please tell us the possible reasons for this issue.

Thank you,
Sai Kumar

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
Hi Team,

We are running the project in JAVA 1.7 version, When we tried to run the project in the 1.8 version of JAVA it is working fine, but when we try to run on JAVA 1.6 and 1.7 versions it throws an error.

Oracle EBS will not support the 1.8 JAVA version.

Please tell us how to proceed further.

Thanks in advance!

Regards,
Sai Kumar

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
The IDAutomation Java Font Encoder requires at least 1.4. We supply the source code to this encoder in the package if you need to compile it in another version of Java. The barcodeutilQRCode.class file is also compiled in 1.4 and includes the source.

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
Hi Team,

We are using the Java 1.7.0-281 version of Java on the system attempting to run the project. Also Please tell us the minimum JDK or JRE version required.

Thank you,

Regards,
Sai Kumar

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
What version of the JDK or JRE runs on the system attempting to run the project? Try re-compiling the barcodeutilQRCode.java file and ensure the barcodeutilQRCode.class provided in the download is not used.

Posted 2.5 year(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook