Files under linux and windows

Hi,
I have a program that works under both windows and linux. I wanted to know what is the best way for the file paths I use.
What is the difference between using "/" and "java.io.File.separator"?
Any more info/tips on the difference between working under windows and linux will be great. I tried searching for it online but couldn't find anything useful.
Thanks,
Shaul

BigDaddyLoveHandles wrote:
I thought that if you used a '/' in a path string it was interpreted correctly, even in Windoze.Other platforms are available :-)
I can't recall the details now, but we had an inexplicably-breaking build on Windows earlier this year for code that was fine under Linux, and tracked it back to the use of "/" rather than File.separator. It was an odd corner case which escapes me, but a lesson learnt nonetheless

Similar Messages

  • Loading images with file:// on Linux and Windows

    Hi,
    i've found (maybe) a bug. In my application i load some files from the temp dir. In Linux from /tmp, in Windows from C:\Temp.
    If i use
    file://<TempDir><file>(results in)
    file:///tmp/myfile
    and
    file://C:\Temp\myfileit works in Linux but not in Windows.
    If i use
    file:/<TempDir><file>(results in)
    file://tmp/myfile
    and
    file:/C:\Temp\myfileit works in Windows but not in Linux..
    Is there a "clean" solution without manually check which operating system is used (e.g. some config to set)?
    Thanks in advance
    Edited by: toxiccrack on Sep 25, 2009 1:41 AM

    Thank you Tunde for looking at my issues!
    The file size is not an issue here. We tested with empty files or files with smaller than 1KB sizes. They all showed problem. The frequency of file transfer shouldn't be a problem either. Through some user interaction on front panel, a couple of files will be transferred. That's basically how often the file transfer occurs.
    Interestingly enough, I replaced the copy.vi with a subvi I created using DOS command with System Exec.vi and the issue of copying files went away. My co-worker tested on both XP machine and Windows 7 machine. The DOS command worked fine thru Lavview's System Exec.vi. I think I can take that as a work-around if we can't figured out why copy.vi wouldn't work. Still, it would be nice to know why it doesn't work.
    Now I'm still facing some issues with the usage of Check If File or Folder exist.vi. Sometimes it can detect the existing files and sometimes it doesn't.
    Thanks very much! 

  • Developing Java under Linux and Windows

    Dear all
    I want to know the percentage of developing Java under Linux platform and under Windows platform. is it 50 % for each or most of developers develop under one platform?
    Best Regards

    I want to know the percentage of developing Java
    under Linux platform and under Windows platform. is
    it 50 % for each or most of developers develop under
    one platform?I did a full survey of this just last week. I contacted 10,000 Java
    developers so to an accuracy of better than 1% I find that
    78% develop on Windows
    11% develop on Mac
    12% develop on Linux
    12% develop on AIX
    6% develop on 'other' platforms.------+
    119%
    You may quote me on this.Uhuh ;-)
    kind regards,
    Jo

  • Mxmlc File for Linux and Windows

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

  • A share program under linux and windows

    I will write a share program like kazaa. However I am new in these topics. So, I don't know where should I start to begin. If you have experinces with this topic, can you inform me about this topic?

    look at java p2p ( jxta )
    some good reading:
    http://developer.java.sun.com/developer/Books/networking/jxta/
    http://developer.java.sun.com/developer/Books/networking/jxta/jxtap2pch03.pdf
    http://developer.java.sun.com/developer/Books/networking/jxta/jxtap2pch08.pdf
    good luck!

  • Different stringWidth between Linux and Windows

    When I use Ms Windows Arial Font in my Java Program running on Linux
    I found out the rendering result of the Font is different with same program running on Windows
    The Arial Font in Linux become wider, and this cause problem because i used absoule position.
    I am using Java 1.3.1, How can solve this problem??

    The Arial under Linux and Windows are not the same. Firts, they may be different font files, second, both systems uses different rendering engines to draw them. Also, some systems, as mine, won't have Arial font at all - substitute font will be used then. So, I would expect, you will have similar problems with any other font, any other operating system or even in some specific locales which uses reversed (right-to-left) line ordering. You will also be not able to do internationalization properly.
    Simply your application is not portable and written with breaking may portability rules. I hope, you are not doing it for money. The layout managers is the only existing aswer to your problem. The closest to absolute is a SpringLayout introduced in 1.4.x.
    The absolute location problem is not a bad thing in Java only - it can screw C, VisualC and CBuilder applications. Take some of them and tweek your system settings - use large fonts for buttons, tiny fonts for menu, change whatever OS provides you to be able to change in L&F and look what will happen with some of those applications. I would be really happy to have layout managers in CBuilder.
    regards,
    Tomasz Sztejka.

  • Running jar in Linux and Windows

    Hi
    I created a jar file in Linux and it is running fine under Linux.
    But when I tried to run the same jar under windows,I got the following error
    Exception in thread "main" java.lang.NoClassDefFoundError:
    Is there any difference between running jar files in Linux and Windows?

    Hi
    I have a jar(say program.jar) containing a program which uses some libraries(again some jar files).The manifest file is written to look for the library jar files in the current directory.
    Main-Class: package_name.program_name
    Class-Path: fits.jar image.jar util.jar myutil.jar
    But while running the jar file in WINDOWS (java -jar program.jar <parameter list>)
    the following error occurs:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    nom/tam/fits/Data"
    the class Data is present in the fits.jar jarfile.
    The same jar(run in the same manner)does not give any problems in Linux

  • How to set owner-only access file permissions both on Linux and Windows

    Hi everybody.
    I have the following problem. I need to store some private user information in file system. So I need to set owner-only access permissions for some directory in user home. I did not find API for doing this. As I understand this is platform specific thing. Could anybody tell me how can I do this both on Linux and Windows?
    Thank you in advance.

    More ideas just came back to me (of something I did before)
    Each OS requires a different control.
    For Windows you will need to set the .policy file for each user (a pain if you have more than a dozen of clients) granting access (R or RW) to files/directories.
    Then you have to write some native code (access via JNI) to access/modify your authorization.
    A more professional solution that I used was J-Integra (other similar tool exist).
    Basically it is a bridge between Java and COM. It magically give you access to the COM API from Java (and vice versa).
    In my case it was to read/write/modify Winword documents transfered between PC and server.
    From memory you have to run the com2java.exe to build the bridge (classes in Java language) between the 2 families. Compile those classes and you have a "driver" for the COM (Microsoft Objects).
    Here I must confess my ignorance on Microsoft.
    Those COM objets must give you some easy/integrated access to the API for LDAP or Microsoft Active Directory Service (for centralize control with more complex setup).

  • CI/DB under Linux and AS under Windows - Possible?

    Hello all,
    I have an ECC6 running on Linux/Oracle.
    For some interface reason I need my production to communicate to a MS SQL Server Database - we found out that the best solution was to install a new Application Server under Windows.
    Is it feasable? If yes what are the constraints or does anyone can give me the procedure.
    Thanks for your time and your help.
    Regards,
    Mel

    hi melchior,
    Why not installing MS SQL on Windows Server and connect it to your SAP system without have to install SAP system on this Windows host ?
    It's possible to install SAP system on heterogent system. For UNIX/Linux and Windows system, you need to manage SAMBA service.
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • How to output executable Bin file under linux from java

    Hi
    im beginner in java under linux and i want to out put my java programs to be bin files that can run
    if this not possilble
    how to run the output jar files with just double click ?
    does i have to run sh file that do the hob how?
    thanks in advance.

    say your main method (application's entry point) is located in a class com.my.Class,
    then first you create a text file (say, manifest.txt) that contains this line:
    Main-Class: com.my.Class
    [/code}
    and then you append this to the jar's manifest as such:
    jar cfm yourjarfile.jar manifest.txt [additional files you might want to add]
    for more info,
    http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle DB sessions on Linux and Windows

    Actually I am confused the way session memory is allocated on 32 bit windows and linux OS.
    Windows is a thread based architecture where all user sessions are treated as threads of oracle.exe process. The addressable space is 4GB and oracle.exe can use up to 3GB in case you use /3GB switch in boot.ini file. It means that combined size of SGA ,PGA and other memory structures can not be more than 3GB. When a session gets connected with a database a PGA is allocated. It means that memory required by database sessions also comes from the 3GB limit. If your memory usage goes beyond 3GB you wont be able to connect new sessions with database or you would require to reduce the size of one of your SGA components.
    Linux is a process based architecture where each user session is treated as a separate process and has its own addressable space. Even on 32bit linux the addressable space is 4GB i.e. 2GB for process and 2GB for kernel. It means we need to accommodate our SGA and PGA in the 2GB limit (there are ways to increase the size of SGA but let assume we are doing nothing to raise the 2GB limit).
    As PGA is allocated for every session when it connects with database.
    My question is how PGA memory is allocated against a database session on linux.
    To further clarify my question I am stating the results of an experiment that I did on linux and windows.
    On windows I set the total size of SGA to 1730M and PGA aggregate target to 1024M. I was able to able to startup the database instance without any issue. Then I started connecting sessions with the database and even ran a query doing a heavy sort in one of the sessions but after connecting 10 sessions with DB I started getting ORA-12500 TNS Listener failed to start a dedicated server process error on windows.
    Then I did the same experiment on Red Hat Linux. SGA size was 1633MB and where as PGA aggregate target was only 10MB. I was unable to start instance when I set the SGA size more than 1633MB.
    With that setting I was able to connect more than 200 sessions with database inspite of running query doing heavy sort in 4 sessions without getting ORA-12500 error. I was even able to connect more than 400 sessions with database after setting PGA aggregate target to 1GB on Linux.
    Now my confusion is why linux was able to handle more DB sessions. I know it’s a process base model and each session is a separate process and has its own addressable space but as PGA is allocated against every session and PGA memory comes from 2GB limit then why PGA memory did not exhaust on linux. Is PGA allocated differently on linux as compared to windows?

    Perhaps the problem is easier to understand if you leave PGA_AGGREGATE_TARGET out of this issue completely.
    The out of memory problem you had, has nothing to do with PGA_AGGREGATE_TARGET setting directly. The difference in number of processes comes from architectural differences in how Oracle uses memory in windows vs unix.
    On windows the SGA + ALL PGAs must fit into one 4GB address space (in practice even smaller as youve noticed). This is because there's only one process, oracle.exe. One process = one address space.
    On Unix, you have many processes and every process can use portion of their own address space for PGA.
    So, on windows (32bit) you run out of address space for the single oracle.exe process. On unix you dont hit this limit just because the number of processes grows (but if some process wants to use a lot of PGA memory, then they eventually run out of address space (talking about 32bit again))
    On unix you probably ran into another limit - amount of total usable virtual memory (RAM+swap) available in your system
    Tanel Poder
    http://blog.tanelpoder.com

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • Connect as sysdba between Linux and Windows without using password

    hello
    Hello
    I need to connect as sysdba between Linux and Windows without using password for the sys user
    Sqlplus /@string_connection
    Plz help me

    Duplicate post:
    Connect as sysdba between Windows and Linux
    Actually you have been given the answer in your above thread. You need to read the Oracle documentation. Search password file at tahiti.oracle.com
    regards

  • Oracle CRS across linux and windows

    I am interested in finding out if anyone has tried installing CRS across linux and windows - it should be possible (at least theoretically!), by running the crssetup.exe or the shell scripts to clone / add node etc.
    This is just for testing (having an idle and a very powerful Windows box idle) - would be great if this windows box could be added to the linux RAC cluster.
    Does anyone have the command line syntax of all the commands that need to be executed (without using a GUI such as addNode.sh)?
    One drastic way seems to be to install on linux first (copy the voting and registry disks using dd, dd over /dev/zero file), install on windows again and then "fix" the linux one by re-registering etc. - appreciate any ideas on this!

    Murali is correct - this is something to do with the format of the voting and registry. I was able to get as far as adding the nodes and olsnodes shows up on both linux and windows - but either cannot get ocssd to start up. Anyway this was just a exercise to see if CRS really cannot work or if it is just a soft requirement.
    For reference though, this is what I did:
    Use the excellent document on cloning at:
    http://download-east.oracle.com/docs/cd/B19306_01/em.102/b16227/oui7_cloning.htm
    1. record a response file and get the details of the options to pass to setup/runInstaller (-record -destinationFile fullPathtoResponsefile)
    2. use perl clone/bin/clone.pl
    3. run setup.exe using a command such as the one below:
    .\setup.exe -noConfig -clone -waitForCompletion "ORACLE_HOME=c:\oracle\crs10.2"
    "ORACLE_HOME_NAME=crs10" "n_storageTypeVDSK=2" "n_storageTypeOCR=2" "sl_OHPartitionsAndSpace_valueFromDlg={6,1,1012,0,N/A,1,7,1,1012,0,N/A,2}
    " "sl_tableList={verdani:verdani-priv:verdani-vip,mentor:mentor-priv:mentor-vip}
    " "s_ocrpartitionlocation=\\.\ocrcfg" "s_votingdisklocation=\\.\votedsk1" "PERFO
    RM_PARTITION_TASKS=FALSE" -silent -noconfig "s_clustername=crs10" "s_OcrVdskMirr
    or1RetVal=NO_VAL" "s_ocrMirrorLocation=NO_VAL" "s_VdskMirror2RetVal=NO_VAL"
    ** Make sure that the disk#s are correct! (check in disk management)
    Use GUIOracleOBJManager.exe in crsHome/bin to add the links to the raw devices (logical drives on extended partitions in windows)
    4. For linux use a command similar to the following:
    perl clone.pl ORACLE_HOME=/opt/oracle/product/crs10.2 ORACLE_HOME_NAME=crs10 '-O
    n_storageTypeVDSK=2' '-On_storageTypeOCR=2' '-O"sl_tableList={verdani:verdani-pr
    iv:verdani-vip,mentor:mentor-priv:mentor-vip,arisia:arisia-priv:arisia-vip}"' '-
    O-noConfig''-O"INVENTORY_LOCATION=/opt/oracle/oraInventory"' '-OPERFORM_PARTITIO
    N_TASKS=FALSE' '-O"s_ocrpartitionlocation=/dev/raw/ocrregistry"' '-O"s_votingdis
    klocation=/dev/raw/ocrvotingdisk"'
    5. after setup finishes on windows, follow the instructions in cfgToolLogs/configToolAllCommands - that runs crssetup.exe on windows to add the nodes.
    6. Add the linux nodes directly using clscfg on Windows

Maybe you are looking for

  • How to make use of byte array to perform credit and debit in Wallet Applet

    Hi, Can anyone please explain me how to use the concept of byte arrays.. to perform credit and debit operations of a 6byte amount. Say for example.. the amount contains 3 bytes whole number, 1 byte decimal dot and 2 bytes fractional part. It would be

  • BLOG "previous" and "next" buttons out of order?

    I have posted several blogs (some have future dates for upcoming events- I don't know if that messes thing up?) I am having trouble figuring out why the "next" and "previous" buttons are not going in order by posted date (past, present.. future WHATE

  • My questions before purchasing...

    I want to purchase the new iphone 4, but I have some questions that I need answers to first so that I can make sure it's a good idea 1. Is it still possible to have individual plans tack on an extra line with ATT for $10, basically circumventing the

  • Related to ALV

    Hi, My requirement is to .. disply output in an ALV list (List display).. Place cursor on a row and select particular data and  this must take U to the FB02 transaction( NOT initial screen but directly to long text screen) . Then user will do ener so

  • Time Machine has stopped working - ideas?

    A couple of days ago Time Machine stopped working on my iMac.  It continues to try to backup, but each time gives the following error message - "The backup was not performed because an error occurred while copying files to the backup disk. The proble