3 Replies Latest reply on Feb 23, 2018 6:31 AM by 806434

    Developer cloud service Build Issue


      Hi All,


      I have created Build.xml and build.properties in Jdev Build JDEVADF_12. for my project Java(TM) Platform 1.8.0_141 . Its working fine and  I am able to compile my workspaces and create EAR .


      When transferring the same build files in DEVCS after modifying properties file to point to cloud home and workspace. It is failing with compilation error.


      DEVCS Logs

      [ora:ojdeploy] WARNING: This product is certified on JDK 1.6.0_04.  You are attempting to run on JDK 1.8.0_144.  This product may not run correctly on this version of the JDK.


      Feb 13, 2018 9:38:10 AM oracle.jdevimpl.deploy.common.ProfileDependencyAnalyzer deployImpl

      [ora:ojdeploy] INFO: Running dependency analysis...


      [ora:ojdeploy] java.lang.ClassNotFoundException

      [ora:ojdeploy] at oracle.ide.model.DependableFactory.toDependable(DependableFactory.java:260)

      [ora:ojdeploy] /usr/java/jdk1.8.0_144/bin/javac

      [ora:ojdeploy] -g

      [ora:ojdeploy] -Xlint:all

      [ora:ojdeploy] -Xlint:-cast

      [ora:ojdeploy] -Xlint:-empty

      [ora:ojdeploy] -Xlint:-fallthrough

      [ora:ojdeploy] -Xlint:-path

      [ora:ojdeploy] -Xlint:-serial

      [ora:ojdeploy] -Xlint:-unchecked

      [ora:ojdeploy] -source 1.8

      [ora:ojdeploy] -target 1.8



      It then doesnot compile project dependencies i.e. in ViewController project there is dependency of model project , In DEVCS as it is giving issue for


      [ora:ojdeploy] at oracle.ide.model.DependableFactory.toDependable(DependableFactory.java:260) .It is not copiling model project and hence failing the build. When I run the same build in my jdev. It creates EAR successfully . Same logs from JDEV.

      There is no warning for JDK 1.6.0_04. and these are parameters in Logs


      [ora:ojdeploy] C:\Program

      [ora:ojdeploy] Files\Java\jdk1.8.0_141\bin\javac

      [ora:ojdeploy] -source 1.8

      [ora:ojdeploy] -target 1.8

      [ora:ojdeploy] -verbose

      [ora:ojdeploy] -encoding UTF-8

      [ora:ojdeploy] -bootclasspath


      Need pointers.