• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

DUPLICATE: compilation error in streams 4.0

310000W94W gravatar image
Question by Manikandan..  (7) | Aug 31, 2015 at 11:26 AM streamsdevdistributed

After migration from streams 3.2 to 4.0, the code has compilation error. Would anyone let me know possible reason for this error. Your help will be highly appreciated.

MAIN_COMPOSITE_NAME=dataAdapter::Macrodyne ; OUTPUT_DIRECTORY=output/dataAdapter.Macrodyne/Distributed ; STANDALONE= ; sc -t /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.cep:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.dataexplorer:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.db:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.financial:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.geospatial:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.mining:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.rproject:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.rules:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.teda:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.text:/home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.timeseries -s $STANDALONE -M $MAIN_COMPOSITE_NAME --output-directory=$OUTPUT_DIRECTORY --data-directory=data --no-mixed-mode-preprocessing --ld-flags="-Wl,-rpath,/home/wasatest/wasa-core/src/Streams/Build//Liblinks " --cxx-flags=""; CDISP0411W WARNING: The error output from the /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/spl/impl/bin/JavaOp_vmpath.sh script is: Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ibm/streams/operator/internal/jni/VMPathDetect, offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:287) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74) at java.net.URLClassLoader.defineClass(URLClassLoader.java:540) at java.net.URLClassLoader.defineClass(URLClassLoader.java:451) at java.net.URLClassLoader.access$300(URLClassLoader.java:79) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038) at java.security.AccessController.doPrivileged(AccessController.java:362) at java.net.URLClassLoader.findClass(URLClassLoader.java:429) at java.lang.ClassLoader.loadClass(ClassLoader.java:677) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:643) Could not find the main class: com.ibm.streams.operator.internal.jni.VMPathDetect. Program will exit. . CDISP0123E ERROR: The following toolkit failed to load: /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.geospatial/com.ibm.streams.geospatial.ext/native.function/javaFunction.xml. The error is: The following non-zero return code was received from the /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/spl/impl/bin/JavaOp_vmpath.sh script: 1.. CDISP0411W WARNING: The error output from the /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/spl/impl/bin/JavaOp_vmpath.sh script is: Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ibm/streams/operator/internal/jni/VMPathDetect, offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:287) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74) at java.net.URLClassLoader.defineClass(URLClassLoader.java:540) at java.net.URLClassLoader.defineClass(URLClassLoader.java:451) at java.net.URLClassLoader.access$300(URLClassLoader.java:79) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038) at java.security.AccessController.doPrivileged(AccessController.java:362) at java.net.URLClassLoader.findClass(URLClassLoader.java:429) at java.lang.ClassLoader.loadClass(ClassLoader.java:677) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:643) Could not find the main class: com.ibm.streams.operator.internal.jni.VMPathDetect. Program will exit. . CDISP0123E ERROR: The following toolkit failed to load: /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/com.ibm.streams.geospatial/com.ibm.streams.geospatial.st/native.function/javaFunction.xml. The error is: The following non-zero return code was received from the /home/ustrms/InfoSphere_Streams/4.0.1.0/toolkits/spl/impl/bin/JavaOp_vmpath.sh script: 1.. CDISP0131E ERROR: Errors occurred while the toolkits were loading. gmake: [output/dataAdapter.Macrodyne/Distributed/dataAdapter.Macrodyne.adl] Error 1 (ignored)

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
120000HAGM gravatar image

Answer by Stan Bradbury (1290) | Aug 31, 2015 at 11:27 AM

Refer to dicussion at: https://developer.ibm.com/answers/questions/211045/javaop-in-streams-40-throws-compilation-error/?smartspace=streamsdev

Comment
Manikandan..

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

48 people are following this question.

Answers

Answers & comments

Related questions

Application works on stand alone but fails on distributed mode 5 Answers

Does the filesource with format block emits windows punctuations at the end of file ? 1 Answer

Parallel dumping of data with ODBCAppend in informix table fails.. 1 Answer

environmental variable are not reflected in distributed mode.. 2 Answers

output is not consistent in distributed mode 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges