0 Replies Latest reply on Nov 2, 2010 3:29 AM by athiroy

    flex with java compilation

    athiroy Level 1

      hi

       

      i have done flex project which contains a videoplayer and some informations.

      i have used j2ee server using lcds.

      when i run a build.xml file that time the following error occurs

       

      Buildfile: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml
      Trying to override old definition of datatype resources
      prepare:
          [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
          [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF
          [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
          [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
           [copy] Warning: META-INF\MANIFEST.MF modified in the future.
           [copy] Warning: WEB-INF\flex\messaging-config.xml modified in the future.
           [copy] Warning: WEB-INF\flex\proxy-config.xml modified in the future.
           [copy] Warning: WEB-INF\flex\remoting-config.xml modified in the future.
           [copy] Warning: WEB-INF\flex\services-config.xml modified in the future.
           [copy] Warning: WEB-INF\lib\backport-util-concurrent.jar modified in the future.
           [copy] Warning: WEB-INF\lib\cfgatewayadapter.jar modified in the future.
           [copy] Warning: WEB-INF\lib\commons-codec-1.3.jar modified in the future.
           [copy] Warning: WEB-INF\lib\commons-fileupload-1.2.1.jar modified in the future.
           [copy] Warning: WEB-INF\lib\commons-httpclient-3.0.1.jar modified in the future.
           [copy] Warning: WEB-INF\lib\commons-io-1.4.jar modified in the future.
           [copy] Warning: WEB-INF\lib\commons-logging.jar modified in the future.
           [copy] Warning: WEB-INF\lib\concurrent.jar modified in the future.
           [copy] Warning: WEB-INF\lib\flex-messaging-common.jar modified in the future.
           [copy] Warning: WEB-INF\lib\flex-messaging-core.jar modified in the future.
           [copy] Warning: WEB-INF\lib\flex-messaging-opt.jar modified in the future.
           [copy] Warning: WEB-INF\lib\flex-messaging-proxy.jar modified in the future.
           [copy] Warning: WEB-INF\lib\flex-messaging-remoting.jar modified in the future.
           [copy] Warning: WEB-INF\lib\mxmlc.jar modified in the future.
           [copy] Warning: WEB-INF\lib\xalan.jar modified in the future.
           [copy] Warning: WEB-INF\web.xml modified in the future.
           [copy] Warning:  modified in the future.
           [copy] Warning: META-INF modified in the future.
           [copy] Warning: WEB-INF modified in the future.
           [copy] Warning: WEB-INF\classes modified in the future.
           [copy] Warning: WEB-INF\flex modified in the future.
           [copy] Warning: WEB-INF\lib modified in the future.
           [copy] Warning: WEB-INF\src modified in the future.
           [copy] Copying 24 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
           [copy] Copied 9 empty directories to 1 empty directory under E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
           [copy] Warning: AC_OETags.js modified in the future.
           [copy] Warning: assets\namastecue.flv modified in the future.
           [copy] Warning: history\history.css modified in the future.
           [copy] Warning: history\history.js modified in the future.
           [copy] Warning: history\historyFrame.html modified in the future.
           [copy] Warning: icons\16calendar.gif modified in the future.
           [copy] Warning: icons\16chat.gif modified in the future.
           [copy] Warning: icons\16clock.gif modified in the future.
           [copy] Warning: icons\16dairy.gif modified in the future.
           [copy] Warning: icons\16files.gif modified in the future.
           [copy] Warning: icons\16mail.gif modified in the future.
           [copy] Warning: icons\16minus.gif modified in the future.
           [copy] Warning: icons\16minus.png modified in the future.
           [copy] Warning: icons\16news.gif modified in the future.
           [copy] Warning: icons\16next.gif modified in the future.
           [copy] Warning: icons\16pad.gif modified in the future.
           [copy] Warning: icons\16percent.gif modified in the future.
           [copy] Warning: icons\16percent.png modified in the future.
           [copy] Warning: icons\16plus.gif modified in the future.
           [copy] Warning: icons\16plus.png modified in the future.
           [copy] Warning: icons\16previous.gif modified in the future.
           [copy] Warning: icons\16previous.png modified in the future.
           [copy] Warning: icons\16tag.gif modified in the future.
           [copy] Warning: icons\16tag.png modified in the future.
           [copy] Warning: icons\32calendar.gif modified in the future.
           [copy] Warning: icons\32calendar.png modified in the future.
           [copy] Warning: icons\32chat.gif modified in the future.
           [copy] Warning: icons\32chat.png modified in the future.
           [copy] Warning: icons\32clock.gif modified in the future.
           [copy] Warning: icons\32clock.png modified in the future.
           [copy] Warning: icons\32dairy.gif modified in the future.
           [copy] Warning: icons\32dairy.png modified in the future.
           [copy] Warning: icons\32files.gif modified in the future.
           [copy] Warning: icons\32files.png modified in the future.
           [copy] Warning: icons\32mail.gif modified in the future.
           [copy] Warning: icons\32mail.png modified in the future.
           [copy] Warning: icons\32minus.gif modified in the future.
           [copy] Warning: icons\32minus.png modified in the future.
           [copy] Warning: icons\32news.gif modified in the future.
           [copy] Warning: icons\32news.png modified in the future.
           [copy] Warning: icons\32next.gif modified in the future.
           [copy] Warning: icons\32next.png modified in the future.
           [copy] Warning: icons\32pad.gif modified in the future.
           [copy] Warning: icons\32pad.png modified in the future.
           [copy] Warning: icons\32percent.gif modified in the future.
           [copy] Warning: icons\32percent.png modified in the future.
           [copy] Warning: icons\32plus.gif modified in the future.
           [copy] Warning: icons\32plus.png modified in the future.
           [copy] Warning: icons\32previous.gif modified in the future.
           [copy] Warning: icons\32previous.png modified in the future.
           [copy] Warning: icons\32tag.gif modified in the future.
           [copy] Warning: icons\32tag.png modified in the future.
           [copy] Warning: icons\Thumbs.db modified in the future.
           [copy] Warning: icons\alternative_energy.gif modified in the future.
           [copy] Warning: icons\alternative_energy.png modified in the future.
           [copy] Warning: icons\butterfly.gif modified in the future.
           [copy] Warning: icons\butterfly.png modified in the future.
           [copy] Warning: icons\cloud.gif modified in the future.
           [copy] Warning: icons\forward.png modified in the future.
           [copy] Warning: icons\icon_profile_graduate.gif modified in the future.
           [copy] Warning: icons\icon_profile_graduate.png modified in the future.
           [copy] Warning: icons\icon_profile_man_emp.gif modified in the future.
           [copy] Warning: icons\icon_profile_man_emp.png modified in the future.
           [copy] Warning: icons\icon_profile_woman_emp.gif modified in the future.
           [copy] Warning: icons\icon_profile_woman_emp.png modified in the future.
           [copy] Warning: icons\icon_progress.gif modified in the future.
           [copy] Warning: icons\icon_progress.png modified in the future.
           [copy] Warning: icons\idea_icon.gif modified in the future.
           [copy] Warning: icons\idea_icon.png modified in the future.
           [copy] Warning: icons\imagelast1.png modified in the future.
           [copy] Warning: icons\leaf.gif modified in the future.
           [copy] Warning: icons\leaf.png modified in the future.
           [copy] Warning: icons\mute.png modified in the future.
           [copy] Warning: icons\next .png modified in the future.
           [copy] Warning: icons\pause.png modified in the future.
           [copy] Warning: icons\pause_grey.png modified in the future.
           [copy] Warning: icons\pausenew.png modified in the future.
           [copy] Warning: icons\play.png modified in the future.
           [copy] Warning: icons\play_big.png modified in the future.
           [copy] Warning: icons\play_grey.png modified in the future.
           [copy] Warning: icons\playicon.png modified in the future.
           [copy] Warning: icons\prev.png modified in the future.
           [copy] Warning: icons\repeat.png modified in the future.
           [copy] Warning: icons\replay.png modified in the future.
           [copy] Warning: icons\rewind.png modified in the future.
           [copy] Warning: icons\save_fuel.gif modified in the future.
           [copy] Warning: icons\stop.png modified in the future.
           [copy] Warning: index.html modified in the future.
           [copy] Warning: playerProductInstall.swf modified in the future.
           [copy] Warning:  modified in the future.
           [copy] Warning: assets modified in the future.
           [copy] Warning: history modified in the future.
           [copy] Warning: icons modified in the future.
           [copy] Copying 89 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
      build:
          [javac] Warning: vid\DAOException.java modified in the future.
          [javac] Warning: videocue\videoServiceDAO.java modified in the future.
          [javac] Warning: videocue\videoVO.java modified in the future.
          [javac] Compiling 3 source files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes

       

       

      BUILD FAILED
      E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml:79: Unable to find a javac compiler;
      com.sun.tools.javac.Main is not on the classpath.
      Perhaps JAVA_HOME does not point to the JDK.
      It is currently set to "E:\Program Files\Adobe\Adobe Flash Builder 4\jre"

       

      Total time: 500 milliseconds

       

      how i rectify this problem

      regards

      athi