Migration of JAVA code(JDK 1.2) from Windows NT to Solaris 8.0

What are the issues while porting the code in JAVA code JDK 1.1.7 and JDK 1.2 from Windows NT to Solaris 8.0
What are the considerations while porting the scripts of installshield from windows NT to solaris 8.0

There is no special issues about running Java code created on NT on Solaris.
I have met only one issue in JDK 1.2, when the original code was compiled using IBM Java Compiler and it was fixed by recompile with original Java Compiler from JDK.

Similar Messages

  • Uninstalling JDK 1.4 from Windows

    Is there a manual way to uninstall JDK 1.4 from Windows 2000. I can't uninstall it from the add/remove programs. If I try to do that nothing happens.
    JDK 1.4 has been causing me some problems with applications running on my machine.

    Delete the folders where jdk is installed and then go to the Registry and in HKEY_LOCAL_MACHINE\JavaSoft delete all keys related to version 1.4. Also don't forget to update the version number in the keys Java Development Kit and Java Runtime Environment.

  • HT2518 I don't have .psd files but how do I migrate my Photoshop Elements catalog with tags from Windows

    I don't have .psd files but how do I migrate my Photoshop Elements catalog with tags from Windows?

    That's really disappointing, I purchased the download version.
    I refuse to pay another £55
    Thanks for your help anyway

  • From Windows 2000 to Solaries

    I have windows 2000 with IIS server as web server and ASP for webapplication development. A new server of SUN Ultra with solaries 9 is installed. I want to know how can i switch over from Windows platform to Solaries. I also want to know how to setup a Apache web server

    Since ASP doesn't run natively on any UNIX, you're going to need some extra software.
    I found the following article which seems to explain a lot about the subject matter. It also makes a suggestion which software to use.
    http://www.15seconds.com/issue/990304.htm

  • Not able to checkout Files using Java Code and SAP BAPI  from DMSServer

    Hi
    Able to download / checkout the files using T-Code SE37 (BAPI_DOCUMENT_CHECKOUTVIEW2).
    But when same RFC is executed from Java, it alsways says -
    Message ::::::::Document LGL/10000000003/000/00 does not exist
    My inputs in Java Code is as below -
    import java.io.*;
    import java.util.*;
    import com.sap.mw.jco.*;
    //CREATED ON - 10-APRIL-2010.
    public class BapiDocCheckOutview {
         public static void main(String args[]){
              try{
                   if(mConnection!=null){
    JCO.Repository repository=new JCO.Repository("AraSoft",mConnection);
    JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs", "SAPFTPA");
    JCO.Function function=repository.getFunctionTemplate("BAPI_DOCUMENT_CHECKOUTVIEW2").getFunction();
                        //End of get function.
                     System.out.println("Before execution1");
                     if(function !=null){
                   JCO.Field DOCUMENTTYPE = function.getImportParameterList().getField("DOCUMENTTYPE");
                    DOCUMENTTYPE.setValue("LGL");
                    JCO.Field DOCUMENTNUMBER = function.getImportParameterList().getField("DOCUMENTNUMBER");
                    DOCUMENTNUMBER.setValue("10000000003");
                    JCO.Field DOCUMENTPART = function.getImportParameterList().getField("DOCUMENTPART");
                    DOCUMENTPART.setValue("000");
                    JCO.Field DOCUMENTVERSION = function.getImportParameterList().getField("DOCUMENTVERSION");
                    DOCUMENTVERSION.setValue("00");
                    JCO.Field GETSTRUCTURE = function.getImportParameterList().getField("GETSTRUCTURE");
                    GETSTRUCTURE.setValue("1");
    JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                 GETCOMPONENTS.setValue("X");
    JCO.Field ORIGINALPATH = function.getImportParameterList().getField("ORIGINALPATH");
                  ORIGINALPATH.setValue("C:
    TEMP
    DMS_");
    JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          GETHEADER.setValue("X");
    JCO.Field PF_FTP_DEST=function.getImportParameterList().getField("PF_FTP_DEST");
              PF_FTP_DEST.setValue("SAPFTPA");
    //JCO.Field PF_HTTP_DEST=function.getImportParameterList().getField("PF_HTTP_DEST");
         //PF_HTTP_DEST.setValue("SAPHTTPA");
                          System.out.println("Here Setting Values Inside Structure ::DOCUMENTFILE");
    JCO.Structure DOCUMENTFILE=function.getImportParameterList().getStructure("DOCUMENTFILE");
    DOCUMENTFILE.setValue("1","ORIGINALTYPE");
    DOCUMENTFILE.setValue("WWI","WSAPPLICATION");
    DOCUMENTFILE.setValue("ZHCL_CS","STORAGECATEGORY");
    DOCUMENTFILE.setValue("E0DF7893E2BD5DF19C07001517B4A299","APPLICATION_ID");
    DOCUMENTFILE.setValue("E0DF7893E2BD5FF19C07001517B4A299","FILE_ID");
    DOCUMENTFILE.setValue("X","CHECKEDIN");
    DOCUMENTFILE.setValue("X","ACTIVE_VERSION");
                            //DOCUMENTFILE.setValue("LGL","DOCUMENTTYPE");
                            //DOCUMENTFILE.setValue("10000000003","DOCUMENTNUMBER");
                            //DOCUMENTFILE.setValue("000","DOCUMENTPART");
                            //DOCUMENTFILE.setValue("00","DOCUMENTVERSION");
                          //JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                          //GETCOMPONENTS.setValue("X");
                          //JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          //GETHEADER.setValue("X");
                        mConnection.execute(function);
    If anyone have an Idea on what I have missed out...
    Please do advice me.
    Thanks
    Prashant

    Hi
    To update in the initial requirement, I have added (prefixed, zeroes) in Document No., doing that, now the  application is able to find the document, but not able to transfer the same from DMS Server to my local Machine, always giving the following error -
    Type ::::::::E
    Message ::::::::File d:\dms\z_IPI_PRASHANT01.doc cannot be created
    Please let me know, if some services needed to checked in SAP System or some more information to be provided in RFC.
    Thanks
    Prashant
    Dear Experts
    Any advice on this. Still not able to download the documents from DMS Server.
    I have also added few more code in my Java program -
         private int use_sapgui;
         public void setSapGui(int use_sapgui){
              use_sapgui = 2;
    PLease help !!
    Regards
    Edited by: Prashantroy on Sep 26, 2011 12:49 PM
    Hi,
    Further to my earlier Mail, while checking the Trace suing SM59 in ECC System I got  the following Error -
    Trace file opened at 20111010 142232 India Standard Time, SAP-REL 701,0,134
    ======> cannot open SAPGUI
    ABAP Programm: SAPLSYSE (Transaction: )
    User: IPI_PRASHANT (Client: 220)
    Destination: SAPFTP (handle: 3, , )
    SERVER> RFC Server Session (handle: 1, 43220900, {5D1DF3E0-ACBD-F11F-8EA0-00A0D1
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: java)
    SERVER> Called function module: RFC_START_PROGRAM
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1742
    FUNCTION: 'exec_sapgui'
    cannot open SAPGUI
    PROG =sapftp erpdev sapgw00 43232164 IDX=4
    Can someone help me in getting this sorted out.
    Thanks N Regards
    Edited by: Prashantroy on Oct 10, 2011 2:32 PM

  • Java code to connect to remote windows machine from local machine

    Hi,
    I have developed a code to connecting remote windows M/C from local M/C by using SSH2 (ganymed-ssh2-build209.jar) API. when I run the code its giving below error. Can any one please help me how to resolve it. And also please let me know, is there any other way to connect remote windows system using java code.
    Exception.
    java.io.IOException: There was a problem while talking to <host name>:22
      at ch.ethz.ssh2.Connection.connect(Connection.java:642)
      at ch.ethz.ssh2.Connection.connect(Connection.java:460)
      at Connect.RemoteServer.ConnectWindowsServer.runCommand(ConnectWindowsServer.java:55)
      at Connect.RemoteServer.ConnectWindowsServer.main(ConnectWindowsServer.java:27)
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at ch.ethz.ssh2.transport.TransportManager.initialize(TransportManager.java:299)
      at ch.ethz.ssh2.Connection.connect(Connection.java:591)
      ... 3 more
    JAVA Code
    import ch.ethz.ssh2.Connection;
    import ch.ethz.ssh2.Session;
    public void setAuthenticationInfo(String hostname, String username,String password) {
           this.host = hostname;
           this.userid = username;
           this.password = password;      
           this.recentCommand = "";     
           System.out.println("setting authentication info completed for host=" + host );
      public void runCommand() throws Exception {
    try{
            // Setup ssh session with endpoint
           System.out.println("starting connection with " + host);
           Connection connection = new Connection(host);
           System.out.println("connection object created..");
           connection.connect();
           System.out.println("Connect to connection");
           connection.authenticateWithPassword(userid,password);
           System.out.println(connection.isAuthenticationComplete());
           Session session = connection.openSession();
          System.out.println("connected");
      }catch (Exception e) {
      e.printStackTrace();
    Regards,
    Praveen

    Hi baftos,
    I tried to telnet remote windows machine from my local machine on port 23, its not connected and given error message like "Connect failed".
    As your response, if we can telnet to remote windows machine from local machine then we can connect from Java. Is it correct ?.
    Can you please help me to resolve this issue. And also please confirm the port (23) is correct, which I was used to connect remote machine from telnet.
    Regards,
    Praveen

  • Sample java code to obtain data from ALUI directory

    Hi
    I need to go to the ALUI LDAP ( directory ) services to get user profile information.
    The documentation did not help me to figure out the way to obtain data from it.
    so , it would be a great help if some one could share the sample java code api to obtain data from ALUI directory.

    i'm guessing you are asking to get the groups for a particular user. someone in the other thread posted the actual SQL, that may be easier. ( you are on 10gR3 right, because ALUI directory didn't exist before 6.5)
    I dont have a sample done yet, but the internet is filled with samples of java and ldap...
    http://www.coderanch.com/t/133108/Security/LDAP-sample-program

  • Error in java code for removing messages from a Topic

    Trying to write a code using oracle.jms package to remove messages from Topic. I have a similar code with javax.jms package for removing messages from Queue and it is working well. Whereas i have written this new code for removing messages from topic using oracle.jms package as methods like CreateBrowser and CreateTopicReceiver for topic are provided in oracle package only and can't be used from javax.jms package.
    Error i am getting is JMS-126: Invalid Topic specified at
             receiverTopic   = (Topic) ctx.lookup(((String)receiverProps.get( "Q_NAME")).trim()  );
             System.out.println ("receiverTopic is[" + receiverTopic + "]");
             MBeanHome home = (MBeanHome) Helper.getAdminMBeanHome("username","pwd","url:port");
             ((AQjmsSession)topicSession).grantSystemPrivilege("MANAGE_ANY", "SA", true);
             for(Iterator i = home.getMBeansByType("JMSTopic").iterator();i.hasNext(); )
              WebLogicMBean wmb = (WebLogicMBean)i.next();
              System.out.println("topic name found: " + wmb.getName());
                topicBrowser   = ((AQjmsSession) topicSession).createBrowser(receiverTopic, "Edin");topic handle which i am receiving in receiverTopic is same as what i am expecting but still it says Invalid topic specified on createBrowser method. Anyone who can help me to write this type of code, please reply. If anyone has ready code for this situation, please reply with the same as i am working on a prodcution system and we are in serious situation to resolve this problem.

    Hi,
    I am afraid this is impossible. You need to find another solution like a filtering queue. Your messages can be sent to a queue that is monitored by let say a MDB. This MDB will maintain a map of title and only forward once a given title/message to your topic.
    Hope it helps.
    Arnaud
    www.arjuna.com

  • Java code to list files in Windows O/S by FIFO sequence

    Hi,
    I am new to java and working on a project which needs to list files from Windows O/S by FIFO sequence.
    Here is the scenario,
    One of the application logs/stores files in Windows System. After that files has to be moved to another files system on AS/400 by FIFO sequence.
    I need to write java program to list files in Windows (by FIFO) and then move to different application running on AS/400.
    I am using java.io.File class and method list() and could able to list all files. But, not able to list files by FIFO sequence.
    I would appreciate to receive any thoughts implementing FIFO for listing files using java.
    Thanks,
    Siva

    Duplicate post, replied to here:
    http://forum.java.sun.com/thread.jspa?threadID=5169767&messageID=9652068#9652068

  • Migrating an Oracle Forms 4.5 application from Windows Server 2000 to 2003

    We are upgrading a number of servers from Windows Server 2000 to Windows Server 2003 (Standard Edition, R2). Can we re-install Forms 4.5 on 2003 and what is involved. If not, what can we do.
    Kind regards,
    Malcolm

    Forms 4.5 has been desupported way before Windows 2003 was ever available. So, you can be sure that Forms 4.5 is not supported on Windows 2003. You could give it a try, but you could very well run into problems.

  • Can I migrate physical hard disks in storage space from Windows 2012 R2 to Windows 2012?

    Hi,
         We have a Windows 2012 R2 server.  It's running storage space with 10 hard disk in Parity mode.  We would like to move the hard disks from Windows 2012 R2 server to Windows 2012, so that we can "free" our windows
    2012 R2 server to do something else.   Can we just unplug the hard disks in Windows 2012 R2 and hook it to Windows 2012 server without any data lose?  If we can do it, what's best "formal" procedures to do it?
    Thanks,
    Tak

    Hi Tak,
    Storage space will be recognized in different servers (and even clients) which support.
    If it is just a "Parity mode", you can turn off the computer, unplug and connect these disks to the new server directly. 
    If any Windows Server 2012 R2 new feature is involved, it may not work in Windows Server 2012 but it should not damage your data and you can still connect these hard disks back to original server.
    However, backup important files is always recommended. 
    If you have any feedback on our support, please send to [email protected]

  • Java Code to List All Active Windows Process in the System

    hi
    i need to help to resolve the below given points:
    1. Mapping Windows Process with their application names.
    2. Owner of the Process
    3. Process Start time and end time.
    Thanks
    Pruthvi.

    This is actually not a java question but:
    the windows command to get the processes:
    WMIC PROCESSWhen you invoke the process store the details in a collection along with the system time.
    Do the above a number of times per second and when a process disapears you know it has ended.
    to calculate an aprox duration of process life cycle:
    Duration = endTime - startTimeDetail List:
    Caption
    CommandLine
    CreationClassName
    CreationDate
    CSCreationClassName
    CSName
    Description
    ExecutablePath
    ExecutionState
    Handle
    HandleCount
    InstallDate
    KernelModeTime
    MaximumWorkingSetSize
    MinimumWorkingSetSize
    Name
    OSCreationClassName
    OSName
    OtherOperationCount
    OtherTransferCount
    PageFaults
    PageFileUsage
    ParentProcessId
    PeakPageFileUsage
    PeakVirtualSize
    PeakWorkingSetSize
    Priority
    PrivatePageCount
    ProcessId
    QuotaNonPagedPoolUsage
    QuotaPagedPoolUsage
    QuotaPeakNonPagedPoolUsage
    QuotaPeakPagedPoolUsage
    ReadOperationCount
    ReadTransferCount
    SessionId
    Status
    TerminationDate
    ThreadCount
    UserModeTime
    VirtualSize
    WindowsVersion
    WorkingSetSize
    WriteOperationCount
    WriteTransferCount

  • Key-code change... from windows to mac... the old key-code doesn´t work

    I bought a CS for Windows and used it on Windows.
    Now I bought a Mac and want to use it,
    but the key-code doesn´t work.
    How can I get a key-code wich works???

    Neither the keycode nor the Windows version of the software will work on a Mac.
    You can only swap platforms for the latest version of Adobe products, which is currently CS6.
    Order product | Platform, language swap

  • Map a drive from Windows 2000 to Solaris directory

    Solaris is new to me. So, please forgive me if I do not have technical terms correct. We recently installed Solaris (SunOS 5.7). Is there a way to map a drive to a Solaris directory from a Windows 2000 workstation? I tried to do a NET USE j: \\123.123.123.123\home /user:root *, and I receive the following error:
    System error 67 has occurred.
    The network name cannot be found.
    Is there something I need to do on the server to make this work? I was reading about the share command in Solaris. Is this what I need?
    Thanks in advance!
    Tim

    You will need to install Samba on your UNIX box or install Microsoft Windows Services for UNIX...
    Samba is probably easiest...both are free...

  • How to kill a system process from java code.

    Hi,
    i need to kill or remove windows system process like cmd.exe from java code.
    like removing it from end process in task mgr.
    i tried below code but its not removed.
    is there a better way we can do this.
    killing a system process from java code will create any issues?
       public static void main(String[] args) throws Exception {
       String[] cmd = { "cmd.exe" };
       Process p = Runtime.getRuntime().exec(cmd);
       p.destroy();
    any suggestions or ideas are really appreciated.
    thanks.

    Hi  jtahlborn, mohan
    yes the process is created from my java code. 
    in my code iam creating a process like below and if it is running for a long i need to kill it from java.
    For that " Runtime.getRuntime().exec("taskkill /F /PID " +  7408); " is working fine.
    7408 is my process id in taskmgr created from java and iam manually passing the PID it to kill it.
    But i need to get the PID from java code.
    Thanks for your suggestions.
    Sample Code:
    public static void main(String args[])
            try {
              Process process = Runtime.getRuntime().exec(new String[]{"cmd.exe","/c","start"});        
              Field f = process.getClass().getDeclaredField( "handle");
              f.setAccessible( true);         
              long procHandle = f.getLong( process);
              System.out.println( "prochandle: " + procHandle );
              //Runtime.getRuntime().exec("taskkill /F /PID " +  procHandle);
            } catch( Exception e) {
              e.printStackTrace();

Maybe you are looking for

  • Calendar doesn't work with tab canvases

    If you generate a form (at V6) which has tab canvases on it, & also has a date item with LOV against it, you hit a problem with Headstart code's handling of the canvases. If you use the calendar LOV, when the calendar pop-up is de-activated, the tab

  • How to change parsing schema for REST

    Hi all, I'm trying to test the new REST Webservice feature, but this leads to an error: Using Apex 4.2.1.00.08, Listener 2.0.1.64.14.25 I set up a simple WebService (method: GET, format: JSON) which querys a table. When I try to test my webservice (u

  • Version 2.0 How Tos?

    Hello, I'm looking for the How To examples for Version 2.0. Specifically the How to Upload and Download Files in an Application. I found the How To for version 3.0, but I'm having difficulty finding the How To for the version 2.0. Can anyone direct m

  • Office 365 Skype Credit

    On my Office 365 account, it tells me that my Skype 60 minutes has been activated. When I go to my Skype account, it tells me that I have one subscription, and that is to World minutes for Office 365, and that I have sixty minutes left. Yet when I tr

  • Ios 7.1.1 can't install due to searching for network

    this update went live while my phone was out of the country- and ever since the phone is searching for a netwrok and I am unable to install the update?? not sure what to try . I have tried re-booting etc but cannot get connected to the network. HELP!