ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker Supportmqsicreatebar with Java 1.8

Post new topicReply to topic
mqsicreatebar with Java 1.8 View previous topic :: View next topic
Author Message
MQMBDev
PostPosted: Thu Nov 05, 2020 10:55 pm Post subject: mqsicreatebar with Java 1.8 Reply with quote

Newbie

Joined: 05 Nov 2020
Posts: 2

Hi IIB experts ,
I am trying to create bar file using mqsicreate bar with toolkit version 10.0.0.6.
I have application that refers to shared library which has subflow which in turn refers to a JAVA project. Subflow (SHARED_LIB1) has certain java function calls which are defined in Java project(JAVA_REF). Java project works only with JDK /JRE 1.8.
I am able compile and build bar file using toolkit however, when I try to build with mqsicreatebar it fails with below error .

mqsicreatebar" -cleanBuild -deployAsSource -data . -b ./target/MyApplication.bar -a MyApplication -l SHARED_LIB1
Problem markers list from the workspace:
Problem 0: Resource - /JAVA_REF; Error message - The project was not bu
ilt since its build path is incomplete. Cannot find the class file for java.lang
.Object. Fix the build path then try building this project.
Problem 1: Resource - /JAVA_REF/src/my/java/package/Encryption
.java; Error message - The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files.

My JAVA_HOME and JRE_HOME is pointing to JDK and JRE 1.8 respectively
Looks like I am missing something very fundamental .. but not able figure it out

Please help
Back to top
View user's profile Send private message
MQMBDev
PostPosted: Mon Nov 09, 2020 6:54 am Post subject: Reply with quote

Newbie

Joined: 05 Nov 2020
Posts: 2

IIB toolkit version 10.0.0.6 default JDK version is 1.7. When I run mqsicreatebar with Java project dependent on JDK 1.7 .. it works fine. However when I add Java 1.8 runtime, mqsicreatebar is failing .
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Mon Nov 09, 2020 7:47 am Post subject: Reply with quote

Partisan

Joined: 17 Jul 2017
Posts: 398
Location: UK

hi...Java 8 support is available from 10.0.0.11 onwards

https://www.ibm.com/support/pages/ibm-integration-bus-v10-support-java-8
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportmqsicreatebar with Java 1.8
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.