Compiling flex application using ANT throws error

Hi i m tryin to compile my flex project using ANT, and i have used [Embed(source="/assets/images/inuse/phonering.png")] lot of places in my project. How can i solve this error. I have lot of swf file also for css.
Thanks in advance
Rupam

OK, I checked my build script and remember having this problem. I'm deploying a war file that contains some java EE and flex code. So my solutions does not apply to your case, but check out this blog post.
http://www.olocity.com/blogs/2009/05/13/adobe-flex-ant-builds/
Also this is probably helpful
http://www.mail-archive.com/[email protected]/msg123564.html//www.mail-archive.com/[email protected]/msg123564.html

Similar Messages

  • Error in compiling Flex application: 64K byte limit

    Hi experts ,
    While deploying the VC model , i m getting this error :
    Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
          (/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
    Failed to compile AAD15VY.mxml
    Could any one help me out in solving this issue ..its urgent ...
    Your suggestions will be rewarded.
    Thanks,
    Pratima

    You have to remove few components from your model to decrease the compiler generated LOC.
    Check the following link for detailed solution:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
    Taken from SAP Notes:
    <i>Solution
    Doing the following may help:
    1.Divide problematic iViews into a number of nested iViews.
    2.Optimize each model to reduce the number of elements that it
      contains:
      a.Reduce the number of signals by merging signals of the same name.
      b.When your application updates forms with read-only fields, use
        expression boxes and a data store instead of signals.
      c.Minimize the use of animations in your models, including form
        sliding and chart animation effects
      d.Use a data store to store variables, instead of invisible forms.
        To display messages, use a simple text rather than a static dynamic
        expression.
    3.For on-the-spot, temporary workarounds, you can try dragging an empty
      layer onto the Design board. This sometimes solves the problem ad
      hoc, but is not recommended as a best practice.
    </i>

  • Error in compiling Flex application  - After changing my query in BW

    Hi All!!
    I'm facing the following problem:
    I have created a VC model based on a BW Query View... I have changed the query in BW (added a new key figure) and then I've refreshed the Query View in my VC model...
    After the refresh, I get the error "Error in compiling Flex application (1). Consult log file for details" everytime I try to deploy...
    Have you faced a similar problem? Does this mean that I can no longer change any query or view used in VC models???
    Thanks in Advance!
    Cris

    Hi Prachi,
    I've tried all the options you listed and it still doesn't work... I even tried to create a new query as a copy of the first one... and the error persists...
    Any other good idea (the model I´m talking about is really huge.. creating it again from zero would be a nightmare!!!)?
    Thanks in advance,
    Cris

  • Error in compiling Flex application (1). Consult log file for details.

    Dear All,
    when i deploy the application from VC i am facing the below issue.
    Error in compiling Flex application (1). Consult log file for details.
    Please help us.
    Regards,
    Suman

    Hi Juan,
    Please look into the below issue.
    Error in compiling Flex application: java.lang.InternalError: Can't connect to X11 window server using '172.16.12.41:0.0' as the value of the DISPLAY variable.
       at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
       at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
       at java.lang.J9VMInternals.initializeImpl(Native Method)
       at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
       at java.lang.Class.forNameImpl(Native Method)
       at java.lang.Class.forName(Class.java:119)
       at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
       at macromedia.fonts.JREFontManager.initializeSystemFonts(JREFontManager.java:242)
       at macromedia.fonts.JREFontManager.createSetForSystemFont(JREFontManager.java:58)
       at macromedia.fonts.CachedFontManager$FontCache.fetch(CachedFontManager.java:109)
       at macromedia.util.LRUCache.get(LRUCache.java:114)
       at macromedia.fonts.JREFontManager.getEntryFromSystem(JREFontManager.java:186)
       at macromedia.swf.builder.tags.FontBuilder.<init>(FontBuilder.java:52)
       at macromedia.css.FontFaceRule.initialize(FontFaceRule.java:82)
       at macromedia.css.StyleDocumentHandler.endFontFace(StyleDocumentHandler.java:36)
       at org.apache.batik.css.parser.Parser.parseFontFaceRule(Unknown Source)
       at org.apache.batik.css.parser.Parser.parseStyleSheet(Unknown Source)
       at macromedia.css.StyleParser.init(StyleParser.java:165)
       at macromedia.css.StyleParser.<init>(StyleParser.java:89)
       at macromedia.css.StyleSheet.parse(StyleSheet.java:71)
       at flex.compiler.parser.MxmlParser$4.end(MxmlParser.java:1123)
       at flex.compiler.parser.MxmlParser.endElement(MxmlParser.java:402)
       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
       at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at flex.compiler.parser.MxmlParser.parseDocument(MxmlParser.java:4363)
       at flex.compiler.MxmlLoader.parse(MxmlLoader.java:277)
       at flex.compiler.MxmlLoader.loadComponentType(MxmlLoader.java:178)
       at flex.compiler.MxmlLoader.loadComponent(MxmlLoader.java:204)
       at flex.compiler.CachedComponentLoader.getComponent(CachedComponentLoader.java:197)
       at flex.compiler.CachedComponentLoader.loadDefinition(CachedComponentLoader.java:101)
       at flex.compiler.CachedComponentLoader.getDefinition(CachedComponentLoader.java:263)
       at flex.compiler.CompositeLoader.getDefinition(CompositeLoader.java:54)
       at flex.compiler.linker.Loader.getType(Loader.java:266)
       at flex.compiler.linker.Loader.findType(Loader.java:248)
       at flex.compiler.CompilerPackageManager.loadType(CompilerPackageManager.java:629)
       at flex.compiler.MxmlCompiler.openDocument(MxmlCompiler.java:61)
       at flex.compiler.MxmlCompiler.compile(MxmlCompiler.java:234)
       at flex.tools.Mxmlc.main(Mxmlc.java:166)
    Regards,
    Suman

  • Error in compiling Flex application (1).

    hi experts,
    i have created a small Iview in VC.
    It was compiling an running till two days back.
    Today it has started giving deplyoment error.
    <b>Error in compiling Flex application (1).</b>
    here is the trace. can anyone please tell me what might be the issue.
    {0}#1#com.sap.portal.guimachine.deployer.CompilingException: Error in compiling Flex application (1). Consult log file for details.
         at com.sap.portal.guimachine.deployer.FileHelper.compileFlex2(FileHelper.java:769)
         at com.sap.portal.guimachine.deployer.PARGenerator.createCompilePar(PARGenerator.java:490)
         at com.sap.portal.guimachine.deployer.PARGenerator.generate(PARGenerator.java:93)
         at com.sap.portal.guimachine.htmlbkit.utils.CommandHandlerService.doDeploy(CommandHandlerService.java:51)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.guimachine.portalconnector.commandhandler.AbstractCommandService.invoke(AbstractCommandService.java:84)
         at com.sap.guimachine.portalconnector.dispatcher.Dispatcher.handleCommandHandler(Dispatcher.java:175)
         at com.sap.guimachine.portalconnector.dispatcher.Dispatcher.doContent(Dispatcher.java:126)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.

    On what release and SP level are you? Can you describe the model?
    Did you do any changes or upgrades of the Portl/Visual Composer the last two days?

  • Error in compiling flex applications?

    Hi ,
    when when i deploy VC applications iam getting an error ERROR IN COMPILING FLEX APPLICATIONS.CONSULT LOG FILE FOR DETAILS. can u tell me what might be the reason for this error.
    Thanks
    kishore

    hi,
    Solution: Refer OSS  974494
    I) Changing the vc.verboseErrorMessages to true will expose the Flex error
    messages when compilation fails.
    1)Open the visual admin of the J2EE
    2)Navigate to Server >> Services >> VisualComposer Development Server
    3)Change the vc.verboseErrorMessages to true.
    4)Save the changes
    II)In the visual admin tool, go to Server -> Services -> Log Configurator.
    In the right pane choose Locations, then scroll down to com.sap.portal.vc
    Increase the severity to ALL
    Click "Copy to Subtree"
    Apply to all "server nodes"
    III)Reproduce the problem.
    IV)For further investigation, please provide
    1. The error that was received when trying to compile the model with
    verbose set to 'true'.
    2. The newly updated defaultTrace<x>.trc
    V) Revert the logging settings to the default values (false for
    vc.verboseErrorMessages, 'Error' in com.sap.portal.vc* locations)
    Edited by: Parth on Feb 14, 2008 5:16 PM
    If your problem is solved pleas close the thread..Points will be welcomed...

  • Problem compiling in Linux using ant

    Hi,
    I have a problem using ant in Linux.
    When I build my application using ant in Windows it works fine, but when I try to build the same application with ant in Linux it gives me the following exception:
    /identifier/MidiReader.java:5: error: Class or interface `javax.sound.midi.Sequence' not found in import.
    I have already checked and the 'javax.sound.midi.Sequence' exists in import.
    Can anybody help me?
    Regards,
    David

    In your javac task (in Ant), you need to explicitly include any external JAR's required for compilation (see ant.apache.org's docs for info). Importing them in a Java source file does not tell Ant where to locate the JAR for linking.
    - Saish
    "My karma ran over your dogma." - Anon

  • Problem in building the enterprise application using Ant -Wrkshop

    Hi All,
    I have developed the enterprise application using workshop and tries to build the application using Ant script and getting the following error.
    "An error occurred writing the controls client manifest."
    Regards
    Ashok

    Did you:
    a). Ensure you're using the correct version of WLS (it appears to me you're using a standalone WLS)? - correct version is 10.3.3
    b). Install the application development runtime 11.1.1.3?
    c). Extend the domain with the JRF?
    John

  • How to build ear files for ADF application using Ant task

    How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
    Any help is highly appreciated.
    Thanks
    Shiva

    Hi Timo
    Thanks for your reply.
    I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
    error :
    weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
    Please advise how to handle this.
    As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
    Appreciate your help.
    Thanks
    Shiva

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • Close a flex application using AS3

    Hi everyone,
    I am building a flex application using AS3, and I would like
    to allow the user to close the application through a CLOSE button.
    Do you know how can I do that ??
    I traied with fscommand("quit"); but it dosen't work.

    The rules are that UIComponent cannot be used in the download progress bar.  You'll need to use really low level objects.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Compile AIR application with Ant (WindowedApplication could not be found)

    I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly.
    Here's my mxmlc task:
    Class mx.core::WindowedApplication could not be found.
    <mxmlc
         file="${MAIN_MXML}"
         output="${DEPLOY_DIR}/MyApp.swf"
         compatibility-version="3"
         locale="en_US"
         static-rsls="true"
         debug="${DEBUG_FLAG}"
         optimize="true"
         link-report="${DEPLOY_DIR}/report.xml"
         configname="air">
         <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" />
         <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
              <include name="{locale}" />
         </library-path>
         <source-path path-element="${SRC_DIR}" />
    </mxmlc>
    Any idea why this is happening? I've tried not including the load-config section and not including the library paths, but it's always the same result - it can't find WindowedApplication.
    Thanks!

    Hi, Guys!
    I ran into the same problem when i tried to write an ant-script to compile the asDocs for my project.
    After reading shades post i added the air-config (This resolved the WindowApplication couldn't be found error, because it adds all the air libs i guess)
    but lead to the problem that the flex vector-class wasn't found. As Vector is flashplayer 10.0.0 i also
    used the target-player parameter (This fixed that nicely).
    But now i got the problem that i get lots of this error msgs: DepartmentItemRendererClass.as(11):
    Error: The private attribute may be used only on class property definitions.
    I guess the problem now is that ant doesn't understand that the AS-Classes producing that errors are not used as
    standalone-classes. To divide my mxml and AS-Code i import external AS-Classes to my MXML
    like that <mx:Script source="ascodeClass.as" />
    Is there a solution allowing me to use this pattern and still compile my asDoc with ant?
    It confuses me a little, because Ant-Scripts worked to compile the project.
    Thanks in advance!
    Florian
    My Ant-Script producing that error:
    <project name="Red bull BPT 2.0: Generate ASDoc" basedir=".">
        <description>
           Creates the ASDoc for Red Bull BPT 2.0
        </description>
        <property file="FlexbuilderASDocAntTask.properties" />
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
        <target name="cleanAndCreateASDoc"
                depends="cleanASDoc, compileASDoc"
                description="Cleans and creates Actionscript-Documentation"
                />
            <!-- Delete the existing output folder and files and then regenerate the output folder -->
                <target name="cleanASDoc">
                    <echo>Deleting ASDoc Directory...</echo>
                        <!--Delete the folder specified for the Asdoc.dir variable-->
                        <delete dir="${Asdoc.dir}" failOnError="false" includeEmptyDirs="true" />
                        <echo>Deleted ASDoc Directory</echo>
                        <echo>Creating ASDoc Directory...</echo>
                        <!--Creates the folder specified for the Asdoc.dir variable-->
                        <mkdir dir="${Asdoc.dir}" />
                    <echo>Created ASDoc Directory</echo>
                </target>
            <!-- Run the ASDoc executable and generate the ASDocs to the new output folder -->
                <target name="compileASDoc">
                    <echo>ASDoc Compiling...</echo>
                        <exec executable="${AsDocs.executable}" failonerror="true">
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->   
                            <arg line="-load-config ${FLEX_HOME}/frameworks/air-config.xml" />
                            <arg line="-target-player 10.0.0" />
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->
                        <!--Main title for the top of all ASDoc pages-->
                            <arg line="-main-title '${Main.title}'" />
                        <!--Prefix Title of the window-->
                            <arg line="-window-title '${Window.title}'" />
                        <!--Defines the output directory for the ASDoc-Files-->
                            <arg line="-output '${Asdoc.dir}'" />
                        <!--Footer added to each ASDoc page-->
                            <arg line="-footer '${Footer.text}'" />
                        <!--Adding the source folders the ASDoc should be created from (Start)-->
                            <arg line="-doc-sources '${ModuleBaseDir}/source'" />
                        <!--Adding the source folders the ASDoc should be created from (End)-->
                        <!--Adding the folders for external Libraries needed to compile the application(Start)-->
                            <arg line="-external-library-path '${ModuleBaseDir}/libs'" />
                        <!--Adding the folders for external Libraries needed to compile the application(End)-->
                        </exec>
                    <echo>ASDoc Compile Complete!</echo>
        </target>
    </project>

  • Compiling Flex Apps With ANT Problem

    Hi guys,
    I thought i'd have a go at using ANT to compile my applications into a single war file that I could then use to deploy. So far so good, until I got to the last bit. Within the root of my application i have the actionscript source file and underneath that I have an assets folder where all my images and css files live. E.g. app_root/asrc/assets/stylesheets/default.css. Now the ant task i've used to succesfully compile everything else looks like this;
         <target name="mxcompile">
            <mxmlc
                file="${asrc}/Main.mxml"
                output="${dest}/Main.swf"
                actionscript-file-encoding="UTF-8"
                keep-generated-actionscript="true"
                incremental="true"
                context-root="SOSBetaAdmin"
                services="WEB-INF/flex/services-config.xml"
                allow-source-path-overlap="true">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${asrc}/assets/stylesheets"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>
                <!-- include dependencies -->
                <compiler.library-path dir="." append="true">
                    <include name="libs" />           
                </compiler.library-path>
            </mxmlc>
        </target>
    However when i run it i get the following error;
    Error: Problem finding external stylesheet: assets/stylesheets/default.css
    Its there, its definately there and whats more Flex builder doesn't have a problem with it. So why does running the compiler as an ANT task cause this issue? Am I missing something?

    I think your problem is that you are missing another source-path tag.  Assuming your assets directory is immediately beneath directory asrc, you'll want to add the following line to your build.xml file:
    <source-path path-element="${asrc}"/>
    Hope that helps.
    Joe

  • How to compile Java files using Ant in Eclipse

    Hi All ,
    I would like to compile all Java files using Ant in Eclipse.Since am very new to Ant and Eclipse can someone help me to create a build.xml file and let me know how to compile all the java files.
    For ex , I have placed my java files inside the path C:\HEC\Terab.Initially the Terab folder holds 7 jar files which i had decompiled using JD compiler and placed the unzipped 7 folders (which contains the java files ).Now i have imported the HEC project into Eclipse using New ->Project ->Java Project.after importig it throwed me an error saying missing jar files.again i copied the jar files and placed inside Terab folder with other 7 folder.
    Now How i can compile the java files and convert in to class files.Then after compiling the files i will again need to jar all the 7 folder.
    Please tell me the steps i need to follow.How to write an build.xml file ? where i should keep it ? only one build.xml file is enough or should i write 7 build.xml file for each folder ? Please help me out...
    Thanks & Regards
    Kar1983

    put it another way, what I am trying to do is to compile David Brackeen's ch 18 code from his book. The java sourse files can be downloaded here:
    http://www.brackeen.com/javagamebook/
    my question is that how would I complie all of these file so that I can get the program in ch18src\src\com\brackeen\javagamebook\test\ to run?

  • Problems compiling Flex application

    I'm trying to compile a Flex application here but i'm getting a hell lot of errors:
    C:\STG\displays\RankingDisplay.as(47): col: 30 Error: Type was not found or was not a compile-time constant: Tween.
    C:\STG\displays\NameEntryDisplay.as(25): col: 26 Error: Definition fl.motion.easing:Bounce could not be found.
    C:\STG\utils\BitmapDataUtils.as(49): col: 4 Error: Access of undefined property MatrixTransformer.
    And lot's of others... I'm using the following command-line to compile:
    mxmlc ./src/MyProject.as
    I have the latest Flex SDK. What might be wrong?

    You dont have the imports correctly or they are missing

Maybe you are looking for

  • Help, itunes wont open and saying it is corrupt

    HELP! I just went to open my itunes and it is coming up with error message saying it is corrupt. It is asking me to reinstall it. If I reinstall it, will I loose all of my music? Please be aware I am useless with computers especially our mac that we

  • Yaourt just printing ^M when typing return when installing

    This is a recurring issue for me. I'm not sure if the issue is related to urxvt, tmux, yaourt or something else, but I only encounter with that combination. In yaourt, I can press enter to start building, but when I press enter to install, it just pr

  • Complex checkout in one-page

    Hi All, It's required from me to do the following in one page for checkout and the submission of this page leads to confirmation page directly: 1- Shipping address. 2- Multi selection of payment groups (can use more than one payment group) 3- Multi s

  • Oracle backup of more then 1-2 TB database

    Hi all, Can anybody suggest me how to take a backup of more than 1-2 tb of database.I know many people will recommend to use Rman, bit is slows down I/O and the rman takes aroung more than 30-40 hours to complete.So is there any solution, if yes, the

  • Help the newbie of all newbies! Have a heart!

    Please help me. After i downloaded and installed the j2sdk1.4.0, i wrote a program and tried to compile it. Since this is the first time i tried to run a program out of school, i have no idea what's wrong. in school we use unix, i have windows xp at