Windows java project to unix

I currently have a program running on windows java 1.4.2. The program needs to be but on an ibm aix unix box running java 1.3.1.
My question:
Can I compile the project with windows java 1.3.1 and then move the compiled classes over to the aix unix box that is running java 1.3.1?
Will there be any issues or problems in doing this or will it work fine? Reason asking is I hate using the unix compiler and editor and prefer the windows environment.

Java is a platform independent language ("write once,
run anywhere")Of course, I have heard that modified to "write once, debug everywhere". My own experience is that problems are rare.
RD-R
� {�                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to run a java project based on x86 Windows XP on Windows CE?

    I am a freshbird of J2ME and i am very confused these days.I beg you can look this topic thoughout.
    I used to configurate a Java Project File about SIP&VOIP successfully,and I can run it well on my PC .
    Now I want to migrate the project to a Mobile OS,and problems comes.
    I have installed the Windows CE 5.0 Evalution Edition on my machine(Windows XP SP2) and it works fine.I search it online for days ,and I download almost all related including CLDC(j2me_cldc-1_1-fcs-src-winunix.zip),MIDP(midp-2_0-fr-spec.zip<==Maybe this is not the right one beacuse it don't have a bin folder),and J2ME Wireless Tool KIt(j2me_wireless_toolkit-2_2-ml-windows.exe).
    I have configrate the enviroment-variable already , but I don't kown what to do next . Do you kown? I would be very thankfull.

    You need to completely rewrite the app to use the mobile APIs as they're very different from the PC ones, I suppose.

  • How to run a java program in windows 2003 server from unix server.

    Hi ,
    I want to run a java program in windows 2003 server from unix machine ..
    will RMI helps me to obtain this.
    Please tell me the procedure to do this.
    Thanks in advance,

    rmi,web services,corba,web 2.0,xml,xls,dtd,rss,ruby on rails,https,soap,tags,blog,podcast,google

  • Java develoment in unix or windows

    Sometimes people ask u 'have u done java development in unix or wondows'. Whats the difference between developing java apps in unix or windows

    also if you have developed under windows, and a few different unix platforms (Mac OS X, linux, solaris, HP/UX etc..) then you learn where the "Write Once, Run Anywhere" slogan doesn't quite hold (don't get me wrong this is usually in trivial ways)
    eg. GUI layout needs a once-over on each platform usually just to make sure everything looks sensible, you may have relied on a behaviour of an API that was coincidental rather than in the spec, and another platform has implemented differently
    there are also real-world deployment problems like users running your program on a machine that hasn't been patched properly, or hitting bugs in the API that only exist on one platform

  • Cannot compile Java files or create Java Project

    Hi,
    I cannot compile java files and also didn't see any option
    for creating java project using flex 2 builder.
    Actually am trying to create a FDS project with an option to
    compile on the server. I am using Weblogic 8.1 SP5 as my server.
    thank you
    sun

    hi
    this is may jvm.config file. Can anyone tell me if it is
    right because all the fields are blank.
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) JAVA_HOME environment variables (same rules as java.home
    above)
    # 2) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 3) ../jre
    # 4) registry (windows only)
    java.home=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\jre
    # Arguments to VM
    java.args=-ea -Xmx384m
    # Environment variables we care about, whitespace-separated
    env=
    # java.class.path - use this for adding individual jars or
    # directories. When directories are included they will be
    searched
    # for jars and zips and they will be added to the classpath
    (in
    # addition to the directory itself), the jar to be used in
    launching
    # will be appended to this classpath
    java.class.path=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK
    2.0\jre
    # where to find shared libraries, again use commas to
    separate entries
    java.library.path=
    thanks
    sun

  • I m not able to create xml file in Java Project

    hi all,
    I have created one java project just to try with Ant Builder. I have created one class inside it. and now i m creating an XML file inside that project.
    But as soon as i try to create the File -> New -> File and give the .xml extention of the file this gives error into the project.
    Will you suggest me the solution for that?
    Thanks in advance.

    Assuming that you are facing this problem in NDS, here is the solution.
    Go to Windows--> Preferences --> WorkBench -->File Associations
    In the File Types list select *.xml
    This will display the default associated XML editor as
    XML Editor(default) in the bottom list box.
    Click on add button near the bottom list box and select Text Editor, click Ok.You will see one more entry in the list box as "Text Editor".
    Select this entry and click on the default button.
    Click Ok and close the preferences dialogue.
    Now create a new xml file.You wont see the error this time.
    Please note that this will treat all simple xml files you will create as TEXT Files and always open with Text Editor.You can override this behaviour with right click on the file and select appropriate editor from the "Open With" context menu.
    The error you are talking about is because the XML editor tries to check well-formedness and basic syntax rules for the file that you newly created, actually is a noce feature of the IDE.
    Rgds,
    Amol

  • How to Debug a Java Project in Eclipse using Tomcat6.0

    Hi
    Can anybody help me with the following questions.
    1.How to create a java project in eclipse(I am using jsp,servlets,jsf,spring,jasper,struts).
    2.How to debug my application in Eclipse Europa by putting break points.
    3.how should i add Tomcat6.0 to my project in order to debug my application so that i can put break points while running the applications and observe the values.
    Thanks
    Bala

    You may find this tutorial useful regarding to JSF, Eclipse and Tomcat: http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html
    To put breakpoints, just doubleclick on the left gray rule of the code, you'll get blue bullets at the left rule, indicating a break point. Run Tomcat in debug modus (rightclick Tomcat � debug). Use the Eclipse debug perspective to step in the code (window � open perspective � debug).

  • Bug in workshop Project Properties for a Java Project !!

    I have a Java project which i am trying to make work with junitee so
    that i can automate my test cases. I have installed junitee as a web
    application named 'junitee' and configured it no problem.
    I have my JUnit test cases in Java Project named 'UnitTest'. What i want
    to happen is that when i build my UnitTest project i want the resulting
    JAR file UnitTest.jar copied into the WEB-INF\lib of the junitee project.
    In order to do this i needed to change the project 'Build' options and
    select the "Copy JAR file from Libraires to Project as" and refer to the
    junitee web app as follows:-
    ../junitee/WEB-INF/lib/UnitTest.jar
    Unfortunately when i do this and select Ok to save my changes workshop
    gives me the following error:-
    The JAR name contains illegal characters. Please correct the name.
    However i have managed to get around this and make it work by manually
    modifying my .work file by hand and not through workshop. This works and
    achieves exactly what i want however it must be a bug in workshop to not
    allow this through the Project Properties window !.
    Else if it is deliberate then i cant see why as you should be able to
    copy a JAR file to any lcoation inside the project if you wish to. I
    hope this gets fixed in SP3.
    Martin

    .. I tried using iPhoto to export a QT file of an image slideshow....
    I would start here to play on the knobs&sliders ..
    what were your settings for export? "QT file" => that is many dozends of options of compression, codecs, resolutions, etc. pp ...
    the consumer apps FCE and iM are meant for TV display only => reduced res + reduced colors, quality reduced due to interlace (due to TV standards) ...-
    a Full Res, h264 encoded qt.mov should display your photos in shining quality ...

  • Mapping Workbench Java Project Export Exception

    Hello,
    We're using TopLink Workbench 9.0.4.1 build 040128
    We are experiencing exceptions when we try to export our Mapping Workbench Project as a java project file. (We have never had this problem before).
    I fear we may have somehow corrupted the TopLink mapping project file(s) when we were last editing them. We can open the project file and all mappings and tables look clean. However, when we try to export the java project file we get an exception (see the stack trace below).
    Is there any way to recover our project file? We had made a lot of changes before noticing the problem with the java project generation. It would be a lot of work to go back to our last good back-up copy and apply the updates all over again.
    Here's the stack trace from the Workbench when trying to export the java project file:
    java.lang.NullPointerException
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convertAggregatePathToFieldIntoTranslationDictionaries(MWProjectToRuntimeProjectConverter.java:189)
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convertMappings(MWProjectToRuntimeProjectConverter.java:715)
         at oracle.toplink.workbench.persistence.MWProjectToRuntimeProjectConverter.convert(MWProjectToRuntimeProjectConverter.java:74)
         at oracle.toplink.workbench.model.MWProject.exportJavaSource(MWProject.java:885)
         at oracle.toplink.workbench.model.MWProject.exportJavaSource(MWProject.java:848)
         at oracle.toplink.workbench.ui.ProjectSourceGenerationCoordinator.exportProjectSource(ProjectSourceGenerationCoordinator.java:162)
         at oracle.toplink.workbench.ui.MainView.exportSelectedProjectsToJavaSource(MainView.java:616)
         at oracle.toplink.workbench.ui.ActionManager$50.actionPerformed(ActionManager.java:1395)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Are there many aggregate mappings in your project? Or do you know of any aggregate mappings or mappings in aggregate descriptors that have changed since you last exported your java source successfully. It appears that something in an aggregate mapping has become corrupted and I'm just wondering if you can narrow down where the problem might have occured. If this is possible, then try remapping those aggregate mappings and then generating the java source again.
    If it is not possible or this does not solve the problem, you will need to send this project and the class files in to support.
    Thanks,
    Karen Moore

  • NetBeans - Cannot create new Java project

    Hello all,
    I've been trying to create new Java projects in NetBeans 6 for about a week now and it just won't work. First, I receive a nullPointerException when I start the software. Then, I come to my home screen, head to File ->New Project. I'm able to specify the Java Project type. When I want to specfiy the Name and Location of the file, I get "Project Folder exists and is not empty", but the folder never existed at all. It's as if the prompt creates the folder then verifies the folder exists and repeats that error message over and over; even if I change the file name. I've reinstalled the software and the JDK many times but, I' still can't seem to get working.
    Any help would be appreciated.
    Thanks
    -Pengu

    Delete your old downloads of your JDK and NetBeans, then Download a new copy of the JDK and NetBeans, uninstall what you have go and delete all of the folders that were involved in the original install and then reboot.
    Once you have done this, then reinstall from your freshly downloaded copies.
    Windows does not yield it's ruined programs very easily--you just have to remove every last bit of it and start again. If the above does not work, then it may be time to go int and edit the registry to remove all reference to the JDK and NetBeans.

  • Java projects in Flash Builder

    Hi all,
    I previously used Flex Builder 3 on Vista x64.   Inside Flex Builder 3, I had both flex projects and java projects.  I needed both because I use BlazeDS and kept the java code in a separate project.  I would only like 1 development environment.
    I recently upgraded to Windows 7 x64 and went ahead and upgraded my Flex Builder 3 to Flash Builder 4.
    It was a simple measure to import my flex projects into Flash Builder 4.
    When I tried to import the Flex 3 java projects into Flash Builder 4, Flash Builder responded with:
      " The folder does not contain a valid Flash Builder Project."
    Short of installing Eclipse, a 32bit version of java, and using the Flash Builder Plugin, is there a way to get my java projects to import and compile in Flash Builder 4 while running on Windows 7 x64?
    Thanks in advance for any thoughts,
    - Steve
    P.S.  I may have had to import something special to get it to work in Flex Builder 3, I just can't remember.

    If you're trying to compile Java projects in FB4, you'll need to add eclipse's Java Development Tools (JDT).
    You can add the JDT this way:
    - quit FB4, and launch with "Run as Administrator" from the context (right-click) menu
    - from the Help menu choose "Install New Software..."
    - in the resulting dialog click "Add", and enter a name of your choosing such as "Galileo Updates" in the Name field
    - enter this URL into the Location field:
    http://download.eclipse.org/releases/galileo/
    - hit OK and then browse the available Galileo Updates
    - select Programming Languages > Eclipse Java Development Tools
    - continue on with the usual Update workflow, and after finishing it will prompt you to relaunch automatically.
    Allow FB4 to relaunch, and you should now have the JDT available for compiling Java projects.
    -Chris

  • Convert Java Project to exe file

    Helloz everyone,
    I have completed a java project. Now I have to convert it in exe file for windows.
    Can u please guide me. I can use any third party tool.
    But I want that it can be installed on any computer whenever double clicked and it make a icon. Whenever user click on that icon then it run the application.
    Thanks in advance.
    ViVeK

    Your jar command appears to be incomplete; it should lookk about like this:
    jar cvmf0 manifest_file MyJar.jar MyPackage/MyClass.class MyPackage/MyClass.gif MyPackage/MyClass.txt MyPackage/MyClass.html
    The 'm' in the command represents the manifest file. The 'f' represents the jarfile name. These can be reversed in order, but must be reversed respectively - that is, if the 'f' comes before the 'm', then the MyJar.jar needs to come before the manifest_file.
    The contents of the manifest needs - in the simplest cases - to look like this:
    Line 1. Main-Class: MyPackage.MyClass
    Line 2.
    Note please the Line x. do not appear; however the line 2 must exist and must be empty. IOW, a carrage return must exist at the end of line 1.
    Note too that the MyPackage part is optional. It's there if you have a specifically named package.
    Note lastly that you may not have .gif, .txt, etc files to add to your jarfile.

  • How execute java project in DOS6.22 ?

    How execute java project in Dos6.22 ?
    if it possible
    thanks,
    Betzalel

    You might have problems with file name like *.java and *.class.
    As if I had heard about some JVM for 16-bit Windows (the next best thing to DOS ;-) written by IBM.

  • Packaging and installing a java project

    Hi everyone,
    I have a java project which has been developed in Eclipse IDE. I would like to package the project so that i it can be installed and can be run as a stand alone product.
    Any tools that would help me do packaging and installing a java project?
    Thank you.

    Easiest way to package a Java project is to create an executable jar for it. You probably should google for more information on the 'jar.exe' program (sry for window bias)
    If you have external dependencies you should put those in separate jars and include them in the classpath in the jar manifest file.
    The only other thing to worry about is getting java installed on other people's machines. In general it is best if possible to have them download java themselves as they will get the latest and greatest from this website. If that's not possible you may want to look into getting sun's permission to distribute Java with your app.

  • Checking if Report has fully loaded in Java Project

    Morning All,
    I hope this isnt another one of my daft questions, but how can I put a listner or determine when a report
    has fully loaded.
    Im testing out the "Crystal Reports Java Project" and am trying to determine when the report has fully
    loaded so that I can dispose of it and close the Frame.
    So far I am not having any luck, I have got some listeners checking when the window looses focus
    and such but that still doesnt tell me when the report has finished loading.
    I also tried useing
    viewerFrame.reportViewer.isBusy()
    but I am not happy with this, as sometimes it returns the correct "true" result while its loading, but then other times it says "false" when clearly I can see the report is still loading.
    A post I found somewhere said that the only way is to determine if the total page count in known, but
    I have not worked out how to do this yet, or atleast cant find how to do this.
    So..... any ideas how I can be sure the report is loaded so that I can programmaticly export the report
    and then close everything up.
    Cheers
    Darren

    If you are programmatically exporting the report, typically the code would look as follows:
    reportClientDoc.open(REPORT_NAME, 0);
    ByteArrayInputStream byteArrayInputStream =
    (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    reportClientDoc.close();
    As you can see there is no need to check to see whether the report has finished loading, because the ReportClientDocument deals with that process behind the scenes, and won't close the report until the report has finished processing.

Maybe you are looking for

  • Os10.8 does not recognize hp 4000 printer

    My iMac with OS 10.8.4 does not recognize my HP LaserJet 4000tn on my ethernet network.  I have downloaded Apple's latest version of HP printer drivers 2.14. Have been on the phone with tech support-not helpful.  Have tried to connect with USB cable.

  • Leopard Mail App needs repair!

    I'm told Apple is very aware of this problem. Program is configured correctly but won't send mail. Yesterday, SMTP server wouldn't recognize my e-mail address and today the SMTP address is not recognized (two different locations). RR tech rep at nati

  • CUIC data sources configuration

      I have a question. Can UCCX 9 CUIC be made to make a connection to a legacy UCCX.8.5 server via the data sources configuration page?    I have included a screenshot of the config tab.            

  • HT1657 Error when playing rented movie. Now expired.

    After renting and playing a movie for only seconds, I get the following mesage "An unknown error occurred.  please try again later".  Now my rental has expired.  Can I get credit for it?

  • Can't add cloud system to Eclipse - Password SSO problem

    Hi folks, Ok so I'm doing the openSAP Hanacloud2 course. When I go to set up my Eclipse and in the HANA Development perspective I ask to "add cloud system", I put in hanatrial.ondemand.com, my account, user id and I've tried all my usual passwords, b