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

Similar Messages

  • Difference in java compilation in unix and windows

    Please tell me whether we should take some steps before compiling a file in unix which is created in windows

    Make sure you tell the javac compiler the character encoding used in Windows when generating the source file. See javac -helpEdited by: sabre150 on Oct 27, 2008 5:57 PM

  • Printing Unix to Windows getting all the printers from the Windows machine

    Hi,
    My application prints Unix to Windows using the name of the machine and a generic virtual printer, but now I need to do some improvements, and I really don't know if it is possible to do what I've been asked to.
    A browsable page (jsp, html, applet, whatever) has to show all the available desktop printers and print a document that can be a .prn or a .pcl to the chosen printer.
    I've done a pilot project just to check what happens in Windows and what happens in Unix.
    when the server is Windows, everything works just fine, but when the server is Unix, of course, I get the " javax.print.PrintException: Printer is not accepting job.at sun.print.UnixPrintJob.print(UnixPrintJob.java:295 )" error.
    Is it possible to do something like this with only free software or I rather abandon the idea and face the users reaction? (upps!)

    Thanks for the answer.
    I think I'm not very lucky because SAMBA is not in place in my company...

  • Requesting user input from UNIX command window

    New to this forum, and relatively new to Java......question for you......
    Currently, I am able to request a .txt file from a user in my unix command window by having them type in the following command:
    java Game (nameOfTextFile).txt
    with the following code:
    public class Game {
    public static void main(String[ ] args) {
    try{
    reader = args[0];
    catch(Exception g){
    System.out.println(g);
    where 'reader' holds the .txt file.
    What I would like to do is as soon as the user types in the command:
    java Game
    it gives them the line:
    "Please type the file to be input"
    and at this point they type in:
    (nameOfTextFile).txt
    and then I can start working with the text file.
    Any ideas?
    Thanks

    public class Game {
    public static void main(String[ ] args) {
    try{
    reader = args[0];
    catch(Exception g){
    System.out.println(g);
    }This class will not compile. The variable 'reader' is not declared anywhere.
    You could create a shell program. When the user enters the name of the shell program at the command prompt, it gives them the prompt to enter the file to be input. And then from within the shell program you call the java program with the name of the file.

  • Migration from  Sun to HP Unix to Windows

    Hi ,
    There is hardware and OS migration activity is scheduled in my current project. To give you the detail, BI system will be migrated from SUN to HP servers and OS will be changed from Unix to windows.
    I am asked to test the system to check that any existing functionality that works before migration should work after migration.
    I was suggested to have a look at the Installation guide to prepare the checklist. I know that the guides are available on service market place, however I am wondering which one I need to refer for the BI 7.0 installation.
    Can any one please send the link of Installation guide  specifically for  BI 7.0. ?
    If any one has done the similar kind of migration activity before then please share the pre and post migration test steps that you have performed during migration.
    Regards,
    Neeraj

    Thanks Effen,
    DB will remain ORACLE. I have just gone through the system copy guide . I found it bit confusing
    I have prepared a list of all necessary activities and check required pre and post migration. Appreciate if you just have a look at it. Add any check that you think should be added in the list.
    Pre Migration check:
    SAP R3 Side:
    u2022Take the snapshot of SM37 for all the LIS jobs whether it is in released state.
    u2022Need to flush all the delta queues from LBWE
    u2022Make the delta Queues Zero (By scheduling the respective info packages for the data targets).
    SAP BW:
    Analysis phase
    u2022Understand the BW landscape and identify all Interfaces (SAP and Non SAP).
    u2022Prepare a list of all outstanding issues of BAU. Also record all problems if any thing is broken and not working pre migration.
    u2022Prepare the test scripts for technical and functional testing.
    Migration Phase:
    u2022Run process chain to flush all the delta queues.
    u2022Remove all the jobs from Schedule position; identify all the chains based on event and Schedule chains.
    u2022Stop all chains, remove them from schedule.
    Post Migration check:
    SAP R3 Side:
    u2022Change the state of the jobs position from Schedule to Release and schedule the LBWE job to flush the records from LBWQ to RSA7 as per the one Hour frequency
    u2022Check the next released job time and makes sure that the LBWE job is started sending the records from LBWQ to RSA7.
    u2022Take the screen shots before sending the data from LBWQ to RSA7.
    u2022Check for the number records in RSA7 as well as LBWQ.
    u2022After the successful job run, check for the number of records in RSA7.
    u2022Make sure that the records in RSA7 are matching with the LBWQ.
    u2022Keep an eye on all the LIS jobs for two or three consequent runs.
    SAP BW Side:
    Technical Check:
    u2022Before going to start the process chains, check all the source system connections. This includes SAP and Non SAP source systems.
    u2022Check the connection of all SAP source systems with BW. Ensure that the RFC connection is established for all SAP source systems.
    u2022Check the connection of all Non SAP source systems with BW. Ensure that the DB connect setting is correct and connection is established. Need to check all the source system connections through DB to make sure that all the tables/Views are not dropped out after migration. If there is any table with inactive status need to bring to the notice of the admin people of that particular database.
    u2022Double check all the process chains based on Event and Schedule are successfully scheduled as per the existing timings.
    u2022While scheduling the jobs, there might be some chances that system will automatically postpone the loads by one day based on the job priority defined, ensure that the jobs are running as per the scheduled date and time.
    u2022Need to keep an eye on all the critical process chains like APO loads Etc... Mentioned in the excel sheet.
    u2022Keep on monitoring the process chains running also compare the execution time for performance check.
    u2022Randomly check the infocubes, update rules, Info objects  and other objects and verify that the objects are in active mode.
    u2022Ensure that all externally scheduled processes are rescheduled Backups, DB statistics, monitoring processes, etc
    u2022Verify that the connectivity with SAP portal.
    u2022For verifying the BI Java configuration, run the IP transaction RSPLAN, open BI admin cockpit and check that it is working fine after migration.
    u2022Verify the all infocubes administration activities like index creation/deletion, aggregate roll up, compression & DB ststistics refresh are working fine after migration.
    u2022Create/delete/ maintain BW objects: DSO, infocube, infosource, update rule, transformation, DTP etc in dev systems.
    u2022Check that Full Request InfoPackage, Repair Full Request InfoPackage, Initialisation with Data Request InfoPackage, Initialisation without Data Request InfoPackage and Delta Request InfoPackage can be executed successfully.
    u2022Check RSRV transactions for consistency.
    u2022Create, delete and modify the Query in query designer. Verify that the query designer works properly after migraition.
    Functional Check:
    Execute all functional test scripts and validate that the data is being loaded in all relevant info providers.

  • Java web start running on windows NT4 work station

    I have installed java web start on a windows NT4 work station (service pack 6) with a directx v5. I successfuly launch the sun applications such as swing set 2, but I have some troubles concerning our software which used another look and feel than the default one. A system error is raised saying that the library ddraw.dll could not be loaded.
    I have unistalled and re-installed directx v5 but the error is still raised.
    Does any one can help me to solve this problem ?.
    Thank you.

    Hello Sim085
    thanks for your reply.
    Perhaps it would be easier for us to continue the programming with any kind of VisualStudio Produkt ;-), although we dont't had to think about OOP yet!
    Because of our new Network-Technology (Terminal-Server) we have to discuss serveral possibilities.
    I've read about JSP and ASP.NET, and I want to know if JSP or any kind of JAVA Program will run on a Terminal-Server.
    Are there any special aspects I have to know when running JSP on a terminal server from Microsoft? Is it better to program applications in JAVA or in JSP? ...
    Thanks
    Rasming

  • Java program in UNIX environment

    Hi All,
    Could you please help me with how to configure a java program in UNIX environment..
    that is to schedule it to run every day from cron..
    I need to know what are the basic things we require to achieve the above..
    I guess it is:
    A script
    A config file containing db login details
    oher than this I don?t know what is required plz help

    You can execute any jar or class file with cron. If you are using a jar you might use something like java -jar /usr/bin/myapp.jar .
    I use Linux, this is my area of expertise.
    Here is an online guide "for complete newbies" on how to set up cron.
    http://www.unixgeeks.org/security/newbie/unix/cron-1.html
    Hope it helps.

  • Urgent Help in java accross the UNIX platform

    If I develop an application using Java in SCO Unix, Is it possible to port the same application to HP Unix or AT & T Unix. Please kindly give me the infomation/details where it is available or how to do it. Need urgent
    Thanks in Advance
    Jyothi

    If I develop an application using Java in SCO Unix, Is
    it possible to port the same application to HP Unix or
    AT & T Unix.Should port with no changes.

  • Can Java SE run in a Window PE (Preinstallation Environment)

    Hi there,
    Can Java SE run in a Window PE (Preinstallation Environment).
    Thank you for all your help....

    One simple reason is that ME has a lot less core classes than SE. So there is a big possibility that you use something that will not be available on the ME.

  • Convert Below Java code equivalent to c# windows store app.

    Hi
    please help me " To convert Below Java code equivalent to c# windows store app."
    private String SecretKey = "enctsbqrm6hxyjfa";
        public byte[] encrypt(String text) throws Exception
            if(text == null || text.length() == 0)
                throw new Exception("Empty string");
            // convert key to bytes
            byte[] keyBytes = SecretKey.getBytes("UTF-8");
            // Use the first 16 bytes (or even less if key is shorter)
            byte[] keyBytes16 = new byte[16];
            System.arraycopy(keyBytes, 0, keyBytes16, 0, Math.min(keyBytes.length, 16));
            // convert plain text to bytes
            byte[] plainBytes = text.getBytes("UTF-8");
            // setup cipher
            SecretKeySpec skeySpec = new SecretKeySpec(keyBytes16, "AES");
            Cipher cipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
            //byte[] iv = new byte[16]; // initialization vector with all 0
            cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
            // encrypt
            byte[] encrypted = cipher.doFinal(plainBytes);
            return encrypted;
      Thanks            
      Nitin

    Hello Nitin,
    Your current requirement is beyond the scope of our support for this fourm which is used to Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    If you want to know how to encrypt/decrypt in windows store app, I suggest that you could post a it to:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=winappswithcsharp
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What is happening about Java System Identity Synchronization for Windows

    I have been playing with "Java System Identity Synchronization for Windows" for a while now. I am about to swich over to is 100%, but I am worried that the latest version is "Windows 1 2004Q3".
    Has any one got any ideas about this. The product sort of works, and is much smaller that going for the whole "Java System Identity Management Suite 2005Q4" which is way to big and complicated for our and I think many people.
    Don't forget Microsoft have now release its own tools to do this in the latest Windows 2003 SP.
    Andrew

    ISW is already present in the 5.2p4 and 5.2p6 archives.
    dn: cn=pswsync,cn=plugins,cn=config
    objectClass: top
    objectClass: nsSlapdPlugin
    objectClass: ds-signedPlugin
    objectClass: extensibleObject
    cn: pswsync
    nsslapd-pluginPath: /export/home/abc/local/ds52p6/lib/psw-plugin.so
    nsslapd-pluginInitfunc: pswsync_init
    nsslapd-pluginType: preoperation
    nsslapd-pluginEnabled: off
    creatorsName: cn=server,cn=plugins,cn=config
    modifiersName: cn=server,cn=plugins,cn=config
    createTimestamp: 20090121011643Z
    modifyTimestamp: 20090121011643Z
    nsslapd-pluginId: Identity Sync for Windows
    nsslapd-pluginVersion: 5.2_Patch_6
    nsslapd-pluginVendor: Sun Microsystems, Inc.
    nsslapd-pluginDescription: Identity Synchronization for Windows Plug-In

  • Unable to download Sun Java System Identity Synchronization for Windows

    Please any one can help me How can i download Sun Java System Identity Synchronization for Windows
    * Sun Java System Directory Server ---------------------able to download
    * Sun Java System Directory Proxy Server --------------able to download
    * Sun Java System Identity Synchronization for Windows-------------Not able to download
    * Sun Java System Directory Editor------------------------able to download
    * Sun Java System Directory Server Resource Kit------able to download
    Regards
    kamal

    ISW is already present in the 5.2p4 and 5.2p6 archives.
    dn: cn=pswsync,cn=plugins,cn=config
    objectClass: top
    objectClass: nsSlapdPlugin
    objectClass: ds-signedPlugin
    objectClass: extensibleObject
    cn: pswsync
    nsslapd-pluginPath: /export/home/abc/local/ds52p6/lib/psw-plugin.so
    nsslapd-pluginInitfunc: pswsync_init
    nsslapd-pluginType: preoperation
    nsslapd-pluginEnabled: off
    creatorsName: cn=server,cn=plugins,cn=config
    modifiersName: cn=server,cn=plugins,cn=config
    createTimestamp: 20090121011643Z
    modifyTimestamp: 20090121011643Z
    nsslapd-pluginId: Identity Sync for Windows
    nsslapd-pluginVersion: 5.2_Patch_6
    nsslapd-pluginVendor: Sun Microsystems, Inc.
    nsslapd-pluginDescription: Identity Synchronization for Windows Plug-In

  • My macbook air with snow leopard OS. migrated to OS lion and have installed Java RE. a Bank website while opening in Java shows one error which window activity shows some applets not opening. it was fine in snow leopard. will somebody help?

    My macbook air with snow leopard OS was purchased last year. Recently migrated to OS lion and have also installed Java RE. A Bank website while opening in Java shows one error which window activity shows some applets not opening. But it was fine in snow leopard. Will somebody help?

    My macbook air with snow leopard OS was purchased last year. Recently migrated to OS lion and have also installed Java RE. A Bank website while opening in Java shows one error which window activity shows some applets not opening. But it was fine in snow leopard. Will somebody help?

  • Migrating Oracle 9i Unix to Windows 2000

    Dose anyone have any information on migrating an Oracle 9.2.0 database from Unix to Windows 2000. Any information would be greatly appreciated.

    Since the data files aren't compatible between the operating systems, you'll probably need to do an export and import to move the database. Other than that, it shouldn't be terribly difficult.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to change Syntax group and physical path in SARA from unix to windows.

    Our customer migrate current current archiving server from Unix to windows
    How to change Syntax group and physical path in SARA from unix to windows.

    http://help.sap.com/saphelp_nw70/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    you have to change
    Logical Path Names
    Logical file  Names
    Note 35992 - File name/directory for application archiving
    hope this will help you
    cheers
    dEE

Maybe you are looking for

  • F4 display of tax codes in fb60 not having alll taxcodes?

    Hi All. Can anyone please address the following issue? We are mainataining tax codes say A1 and A2 for reporting Country NZ under our country AU. 1. In Miantainainace of Additional data for Company code ( via OBY6) we have the Planys Abroad selected

  • STO Requirement

    Dear Friends Request an expert , who has worked on CIN for guidance. An STO (PO) would be created at a depot. Based on that, the plant will would do outbound delivery of goods. The requirement is As we are aware that, depot does normal sales transact

  • No interface mapping in interface determination.

    Hi ALL, I am doing a simple File to File scenario. i have created all repository elements and activated them. Now while configuring them in Directory at interface determination level I can enter inbound Interface but in interface mapping i can´t see

  • JDBC - MySql

    Please find my code below and the error i get. public class LoginDao { /** Creates a new instance of LoginDao */ public LoginDao() { } public boolean authUser(Object obj) throws NamingException, SQLException{ DataSource ds = getMyDatabase(); Connecti

  • Help for a MS Windows programmer- Unix

    I havent used Unix in ages. Ive since been programming with VB and all the MS-related ballyhoo. Ive done some Java programming in the past, back in the JDK1.1 days. In the last few months ive been digging deep into J2EE as well as Swing. However, all