File.createTempFile seems to be broken in JDK 1.6.0_11

Hi!
Can anyone confirm please?
On (German) Windows XP systems, since JDK 1.6.0_11, there seems to be a serious bug in the implementation of File.createTempFile: After having created such a temp file, using getPath() or getAbsolutePath() may show a broken path, with abbreviated path components.
Here is an example result path (broken):
"C:\DOKUME~1\schneid\LOKALE~1\Temp\temp_file6617344501941011051.tmp"
As you can see, the directory "DOKUMENTE_UND_EINSTELLUNGEN" (German version of Windows XP) is abbreviated to "DOKUME~1".
I have attached an executable Java class that shows the problem.
If someone confirms, then I will post an issue.
Best,
Michael
======= BEGIN CLASS "CreateTempFileBug" ================
import java.io.File;
* Bug: Broken path for File.createTempFile
* Description:
* File.createTempFile() creates a file object with a broken getPath() string.
* The path string contains "~", i.e. the path elements are abbreviated.
* Same problem for getAbsolutePath(). Valid paths only for getCanonicalPath().
* Example-Output:
* "C:\DOKUME~1\schneid\LOKALE~1\Temp\temp_file6617344501941011051.tmp"
* System:
* OS: WinXP / German
* JRE: 1.6.0_11
* Since:
* I think this is new to patch level 11 of Java 6. It breaks my software,
* but in earlier versions everything was fine.
* @author Michael Schneider ([email protected])
public class CreateTempFileBug {
     public static void main(String[] args) throws Exception {
          // Creating a temporary file, and printing the path.
          // RESULT: broken path (having abbreviated path elements)
          // for getPath and getAbsolutePath, but ok for getCanoncialPath
          File tempFile = File.createTempFile("temp_file", null);
          System.out.println("temp file / getPath: BROKEN: <" + tempFile.getPath() + ">");
          System.out.println("temp file / getAbsolutePath: BROKEN: <" + tempFile.getAbsolutePath() + ">");
          System.out.println("temp file / getCanonicalPath: OK: <" + tempFile.getCanonicalPath() + ">");
          // For comparison, creating a normal file in the working dir
          // and printing the absolute path.
          // RESULT: valid paths (at least on my system)
          File normalFile = new File("normal_file");
          System.out.println("normal file / getPath: OK: <" + normalFile.getPath() + ">");
          System.out.println("normal file / getAbsolutePath: OK: <" + normalFile.getAbsolutePath() + ">");
          System.out.println("normal file / getCanonicalPath: OK: <" + normalFile.getCanonicalPath() + ">");
===== END CLASS =====================================
Edited by: m_schnei on Feb 13, 2009 11:17 PM
Edited by: m_schnei on Feb 13, 2009 11:20 PM

Hi Danny!
So you are saying that this is a valid path specification in Windows? I did not know this. And I do not remember to ever have seen this before with Java.
Is there a reason why this "abbreviated" form is used in Java?
Has this changed recently, or did I simply never found it before?
Can this be behavior be changed to the complete path form? I like to call 'get[Absolute]Path()' in log messages and test cases, but want to see the complete path in such a case. I would like to avoid getCanonicalPath() in such cases, because this method declares an exception.
Cheers,
Michael

Similar Messages

  • Numbers seems to have broken

    I was using Numbers this morning -- no major problem except that it didn't properly recover from page view (leaving junk on the right of the table).
    This afternoon it seems to have broken. ALL my files, including the one from this morning have mostly blank cells. The contents seem to be there - if I click a cell the contents show up in the formula bar (or whatever it's called). And if I double-click to edit the contents reappear. But then go away again as soon as I finish with the cell.
    Some (but not all) of the header cells in Gray Headers style show up, and some are simply a pair of faint white squares at the end of the text string. Check boxes show up OK.
    Oh, and if I double click on a date it shows up for editing with the year as 00002010.
    This is very distressing. I have a lot of data locked up in Numbers and as of now, all is unusable.
    What's going on?

    Thanks for the help. Actually I should have mentioned that I tried that (I've been using Macs since my Mac IIfx in 1990 so I picked up a few tricks) as well as restarting. The problem remains.
    In the meantime I've tried opening my files (remotely) with another machine. No problems. It's local.
    Next I'll try reinstalling Numbers, if I can find the disks
    Richard

  • Update seems to have broken openbox theming.

    I updated about 2 hours ago and it seems to have broken a lot of my window manager.
    I use openbox as a standalone window manager and have had no issues so far.
    I update every few days and today caused the resizing-freeze issue, so I downgraded the suggested packages which fixed that.
    However I have another issue with theming.
    Programs such as firefox, thunderbird, thunar etc... all have the correct theme. However I use some gnome programs such as rhythmbox and nautilus and neither of these are themeing correctly as well as terminator and all appear to have the default gnome theme.
    I use obconf and lxappearence for themeing normally, however these seem to have no effect.
    I've done a fair amount of searching and googling and am now very tired and am going to bed.
    If anyone has any advice it would be much appreciated. If I am being stupid in my sleep deprived state please feel free to point it out XD.

    Hi all. I'm also running Openbox and have done the following so far;
    1. Installed gnome-themes-standard. Created a new folder ~/.config/gtk-3.0/; Created the file in the folder "settings.ini" with the following code;
    [Settings]
    gtk-application-prefer-dark-theme = true
    gtk-theme-name = Adwaita
    gtk-fallback-icon-theme = gnome
    Thanks to the info on the thread here
    2.  Checked out the post here. Downloaded the tar of Adwaita from this.page and did the usual "makepkg -s" magic and rebooted.
    What I'm now getting is nm-applet in tint2 with the dark theme of Adwaita which is great but doesn't really match my dark theme axiomd but it's better than before.
    What I'm wondering is how to manage this in lxappearance, change font etc?? If I select the theme Adwaita it's a light theme? Having looked in the directory there is both gtk-2.0 (i think this is the light one?) and gtk-3.0.
    I've also noticed that it is affecting rhythmbox; slow to load and the status icon setting in the plugins is missing, so you close the GUI and find the app quits rather than the previous behaviour where it would close but the notification icon would still run in tint2 enabling one click control access to the GUI again.
    I appreciate this is obviously a new implementation and will take a bit of time to learn but any tips from those in the know would be great!? TIA.
    Last edited by phrac (2011-05-01 11:10:09)

  • ITunes seems to be broken, only get stereo sound

    Hey all,
    I use Windows XP Pro with the latest iTunes version and for several iterations of iTunes now, it only play in stereo mode (two speakers) and will not take advantage of the true capabilities of my PCI sound card, a Creative Audigy Gamer.
    In Windows I can set the sound card to play in 'Quadraphonic Speakers' mode and I can play CDs with Windows Media Player and get the full effect I should get. I fire up iTunes and it only plays through the two 'front' speakers and absolutely refuses to play as it should with all four speakers going. It used to work a few iterations ago, but an iTunes+Quicktime update sometime past seems to have broken it!!
    I have completely removed the Audigy drivers and the card, then re-installed all of it, because I know that the favorite response from folks is to do this first, so please don't tell me to do it again as I won't...unless you have some additional, deeper suggestions that might do it, of course!!
    Personally, I think iTunes is broken, but I have no proof. Anyone else having this issue or knowof a fix?
    TIA,
    Just Me Here

    Try right-clicking or Control-cicking the iTunes application and selecting "show package contents".
    Check in Contents -> Resources Disabled to see if your remaining language files are there. If they are, drag them to Contents -> Resources. Close the Contents window and try launching iTunes again.

  • I updated vietmobile remote files app. this app is broken on iOS 5.1.1 I do not have a backup of the previous version of the (paid) app, how can I roll back to the previous version? Is there a repository of previous versions? Am I boned?

    I updated vietmobile remote files app. this app is broken on iOS 5.1.1 I do not have a backup of the previous version of the (paid) app, how can I roll back to the previous version? Is there a repository of previous versions? Am I boned?
    Seems silly to not allow a rollback from a file repository of previous app versions.

    >All apps are tied to the account that downloaded it, so to be able to sync back the previous version you would need to still have your copy of that version
    I'm not sure I follow, I have not sync'd the ipad with my computer. I just saw an update in the app store and took it.
    I tried to del and install the app from the purchased tab in the app store, that reinstalled v2.1 of the app. This also fails to launch.
    I have made two service requests to the developer, no response at this time.
    Is there somewhere I can download and install Remote Files version 2 file? I can only find the new version 2.1 in the app store.

  • Is it appropriate to use File.createTempFile() in webstart applications?

    Hello everyone.
    I'm currently involved in developing a web start application for my company; and I am a bit puzzled as to the way temporary storage should be managed in the client's machine. To begin with, the application is a web start "trusted" application, since we're signing it.
    Specifically, the application needs to perform XSLT transformations with user-generated data. This obviously needs some place to read a source XML document and a source XML stylesheet.
    Loading the latter from my application jars as a URL isn't much of a problem. However, my confusion is regarding the location where the XML document generated by the user should be temporarily stored, since only the output of the transform is relevant.
    So the first option I got is to use the muffin storage system provided by web start. The concern I have with this is that, while it does provide a place for applications to store data, the mechanics needed to maintain muffin data do not seem (this is just a personal opinion) friendly enough for storing temporary data (an XML file in my case).
    Now, I find that a better alternative for doing this would be to use File.createTempFile() in order to request a temporary storage location to dump the XML data to transform.
    Now, bearing this in mind; is it ok for this trusted application to use the facility provided by the File class? Or is there any better way I could do this?
    Thanks for your time and help!

    jzazueta wrote:
    Well, basically the intent is that the result of the transform will be used to derive a report from another application. Now, the nature of the transform's output file is about 3 to 4 MB when generated.
    I believe that is the primary purpose of saving transformed output.Fair enough but then why do you need to create the intermediate temporary file. Can't you just process the transformed data sequentially as it is produced.
    >
    In fact, while looking further into this subject, I found some code from the JDIC project mailing list where the example seems to indicate that some level of File functionality is allowed while running under Webstart.I use files under Webstart but I do sign the jars.
    >
    [http://markmail.org/message/vhjdnwqwjdyvwliv?q=createTempFile+webstart]
    So probably the idea may not be too crazy at all :PI never said it was crazy - I just queried the need for the intermediate file. You don't give any details of what you are doing with the transformed xml so I still question the need for the intermediate file.

  • Ability to rename folders in Launchpad in Mountain Lion Seems to be broken. Is there a fix?

    Ability to rename folders in Launchpad in Mountain Lion Seems to be broken. Is there a fix?

    YouWinSomeYouLoseSome wrote:
    you still cannot rename folders.
    I can... you cannot. I'm not sure why. It will not work on an app icon.
    Are you sure you're doing this on a Folder?
    Perhaps it is a function of Finder. You can try deleting Finder prefs to default.
    Go to your Finder "Go" menu hold the option key and choose Library. Then go to Preferences folder and trash these files:
    com.apple.finder.plist
    com.apple.sidebarlists.plist
    Then, restart, or log out and in again.
    (You will have to reset a few finder prefs the way you like them.) 

  • My MacBook (late 2009 Mac OS X Lion 10.7.5 (11G63) often runs VERY slow...beach ball of death frequently.  My page ins (5.29GB), page outs (5.64BG), and swap files (10GB) seem extremely high in comparison to most other discussions in here.  HELP!!??

    My MacBook (late 2009 Mac OS X Lion 10.7.5 (11G63) often runs VERY slow...beach ball of death frequently.  My page ins (3.29GB), page outs (5.64BG), and swap files (10GB) seem extremely high in comparison to most other discussions in here.   I don't know how to copy the pie chart so it shows on here but here's what it says right now:
    Free - 176 MB
    Wired - 592MB
    Active - 843MB
    Inactive - 432MB
    Used - 1.82 GB
    VM size - 198GB
    The page ins and page outs have 0 bytes/sec in the parenthesis even though the numbers are so high. 
    Any help anyone could provide would be greatly appreciated!!!

    You difinately need more ram. 2gb is the bare minimum to run just the Lion OS, anything extra will slow your Mac to a crawl. Upgrade to 8gb from either Crucial http://www.crucial.com/ or OWC http://eshop.macsales.com/
    And you will be a happy camper!

  • File.createTempFile naming problem

    Hello All,
    I am using WIN XP .I am creating a temporary file with the following code
    File temporaryDll = File.createTempFile("abcd", ".dll");In the temp directory , though I marked in code deleteOnExit to temporaryDll , it creates files with abcd1234.dll , abcd1235.dll n so on .
    The temp directory gets filled up with these number of dlls with diff suffix. Is there any mechanism or any code snippet will I get , to make sure that only one dll will get created n deleted after JVM termination.How can I check in the code , file already exists or not , because at every time it create new filename?
    I have tried by deleting all abcdxxxx.dll from temp dir , I ran the code but wondered after watching in temp dir , abcd1234.dll file created instead abcd.dll .
    Looking forward for help.
    thanks
    Ani

    That's because you original files all end with a "2" and not the 4-digit number you want. "Original file#" takes the number at the end of the original file.
    For example:
    IMG_1234    >> "1234"
    IMG_1234-2 >> "2"
    Why are your originals all end with a "2"? Probably because toy imported some duplicate files and lightroom added "-2" to their name to avoid a filename collision.
    Check you folders for duplicates.

  • Problem with File.createTempFile

    I did File temp = File.createTempFile("cpyStats", ".xls");
    //                Delete temp file when program exits.
                   temp.deleteOnExit();
    System.out.println(temp.getName());But the result is : cpyStats30440.xls
    Why do it always have some number after my file name ?
    Anyone help me ?
    So stress because of it...

    Guys, if you don't want a random filename just don't
    use a method that creates a random filename.Please excuse my ignorance (new to java!). What's the easient way to do this/what method should I use?
    I simply need to create a new file with a precise name. This is because I need to retrieve the same file from a remote location later and so I can only do this if I know what it's filename was originally!
    n.b. The filenames I am generating will be unique.

  • Linking image files created in Mac are broken on PC and Vice Versa

    Hello,
    A fellow designer and I are sharing Illustrator files in the office but she is on a Mac and I am on a PC. Our linking image files are located in multiple folders on our company server, but whenever we open each other's files, all the links are broken and have to be relinked due to our different operating platforms. This can be very time consuming since the images are in different folders and there are many of them.
    Anybody know how to fix this PC/Mac problem without dropping all the linking files into the same folder as the .ai file? I'm not the IT guy so I don't think that rebuilding our server structure is an option either...would cause too much havoc around the office.
    Any help would be appreciated.

    Let me ask you something does this sound like a viable way to work?
    The way to do it is as you yourself suggest to work locally with all the files in one folder so you cannot break the links and that you know where the art is at all times.
    If the IT thinks this is a good way to work then let them create a script to save all linked files to a common live folder for the project so that both computers can find it.
    But from what you describe it is just looking for trouble and might be exactly what the IT wants trouble so they can extend their job. In which case ther is  no solution.

  • How to upgrade Robohelp X5 files to Robohelp 7 without broken links ?

    How to upgrade Robohelp X5 files to Robohelp 7 without broken links ? And also i need proper procedure for migrating Robohelp X5 to Robohelp 7 that does not affect the system performance due to .cpd file.

    Upgrading from 5 to 7 should be as simple as opening the project and I don't recall it giving any broken link problems. Is your project on your local drive rather than a network drive? Is source control involved?
    What's the basis for thinking the CPD will cause performance issues?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Error File.createTempFile permission to delete has not been granted

    Hi,
    I am new in Java. I wrote something easy like this:
    public class Utils {
    public static String createMyTempFile() {
    String result = "";
    try {
    File file = File.createTempFile("test",".txt");
    file.deleteOnExit();
    catch(Exception e){
    result = e.getMessage();
    return result;
    But appear the next error message:
    "Unable to create temporary file"
    But i run the same script with SYS user theres no problem, asume is a permission problem, but i dont know which permissions or how can i grant it.
    Thank you

    Grant Privileges
    The relevant permissions must be granted from SYS for JServer to access the file system:
    EXEC DBMS_JAVA.grant_permission('SCHEMA-NAME', 'java.io.FilePermission', '<<ALL FILES>>', 'read ,write, execute, delete');
    EXEC DBMS_JAVA.grant_permission('SCHEMA-NAME', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC DBMS_JAVA.grant_permission('SCHEMA-NAME', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    GRANT JAVAUSERPRIV TO SCHEMA-NAME;
    The affects of the grant will not be noticed until the grantee reconnects. It is up to the individual to decide on the level of access that is required.
    Depending on the documentation used, you may be told to add the directories you intend to access to your UTL_FILE_DIR parameter in the Init.ora file. I have not found this to be necessary when using the Java approach.

  • Update JRE 1.4.2_08  to JDK 1.5.0_11 get "Time Out 61" Error on MI Client

    Hi,
    we have updated our System to SPS 14 (MW+BE) to make our clients vista ready. I have create a new setup package and updated the Java version of the client to jdk 1.5.0_11. After Starting the client I get the "Time Out 61 Error". The Startup Output seems to be good, all variables are set. And I dont know what to do.
    Her is the Output from the Startup.bat
    If anyone have a clou that can help me, makes me very glad.
    C:\Program Files\SAP\MobileInfrastructure>startup.bat
    C:\Program Files\SAP\MobileInfrastructure>SET JAVA_HOME=1
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_HOME=
    C:\Program Files\SAP\MobileInfrastructure>REM SET ME_HOME=
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_EXE=
    C:\Program Files\SAP\MobileInfrastructure>REM SET JAVA_OPTIONS=-mx256m
    C:\Program Files\SAP\MobileInfrastructure>SET _OLDCP=
    C:\Program Files\SAP\MobileInfrastructure>set _MEJARS=
    C:\Program Files\SAP\MobileInfrastructure>copy /b "C:\Program Files\SAP\MobileIn
    frastructure\SetMejar.txt" + "C:\Program Files\SAP\MobileInfrastructure\listOfJa
    rs.txt" "C:\Program Files\SAP\MobileInfrastructure\setMeJar.bat"
    C:\Program Files\SAP\MobileInfrastructure\SetMejar.txt
    C:\Program Files\SAP\MobileInfrastructure\listOfJars.txt
            1 file(s) copied.
    C:\Program Files\SAP\MobileInfrastructure>call "C:\Program Files\SAP\MobileInfra
    structure\setMeJar.bat"
    C:\Program Files\SAP\MobileInfrastructure>SET _MEJARS=C:\Program Files\SAP\Mobil
    eInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastructure\lib\c
    rimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:\Program F
    iles\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstall.jar;C:\P
    rogram Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files\SAP\Mobil
    eInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program Files\SAP\Mobi
    leInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfras
    tructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructure
    \lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\webserver.ja
    r;
    C:\Program Files\SAP\MobileInfrastructure>set _SSLJARS=
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jsse.jar" set _SSLJARS=C:\Program Files\SAP\MobileInfrastructu
    re\lib\jsse.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jcert.jar" set _SSLJARS=;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\jcert.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\jnet.jar" set _SSLJARS=;C:\Program Files\SAP\MobileInfrastruct
    ure\lib\jnet.jar
    C:\Program Files\SAP\MobileInfrastructure>set _IAKJARS=
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\system\jdk13\iaik_jce.jar" set _IAKJARS=C:\Program Files\SAP\M
    obileInfrastructure\lib\system\jdk13\iaik_jce.jar
    C:\Program Files\SAP\MobileInfrastructure>if exist "C:\Program Files\SAP\MobileI
    nfrastructure\lib\system\jdk13\iaik_javax_crypto.jar" set _IAKJARS=C:\Program Fi
    les\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\
    MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar
    C:\Program Files\SAP\MobileInfrastructure>set CLASSPATH=C:\Program Files\SAP\Mob
    ileInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastructure\lib
    \crimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:\Program
    Files\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\MobileInfrastr
    ucture\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstall.jar;C:
    \Program Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files\SAP\Mob
    ileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program Files\SAP\Mo
    bileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfr
    astructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructu
    re\lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\webserver.
    jar;;;;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C
    :\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;
    1\lib\tools.jar
    C:\Program Files\SAP\MobileInfrastructure>echo Using CLASSPATH: C:\Program Files
    \SAP\MobileInfrastructure\lib\db2ejdbc.jar;C:\Program Files\SAP\MobileInfrastruc
    ture\lib\crimson.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jasper.jar;C:
    \Program Files\SAP\MobileInfrastructure\lib\jaxp.jar;C:\Program Files\SAP\Mobile
    Infrastructure\lib\MEg.jar;C:\Program Files\SAP\MobileInfrastructure\lib\pinstal
    l.jar;C:\Program Files\SAP\MobileInfrastructure\lib\servlet.jar;C:\Program Files
    \SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_crypto.jar;C:\Program File
    s\SAP\MobileInfrastructure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\Mo
    bileInfrastructure\lib\system\jdk14\iaik_jce.jar;C:\Program Files\SAP\MobileInfr
    astructure\lib\system\xalan.jar;C:\Program Files\SAP\MobileInfrastructure\lib\we
    bserver.jar;;;;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_j
    ce.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik_javax_cry
    pto.jar;1\lib\tools.jar
    Using CLASSPATH: C:\Program Files\SAP\MobileInfrastructure\lib\db2ejdbc.jar;C:\P
    rogram Files\SAP\MobileInfrastructure\lib\crimson.jar;C:\Program Files\SAP\Mobil
    eInfrastructure\lib\jasper.jar;C:\Program Files\SAP\MobileInfrastructure\lib\jax
    p.jar;C:\Program Files\SAP\MobileInfrastructure\lib\MEg.jar;C:\Program Files\SAP
    \MobileInfrastructure\lib\pinstall.jar;C:\Program Files\SAP\MobileInfrastructure
    \lib\servlet.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iaik
    javaxcrypto.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk13\iai
    k_jce.jar;C:\Program Files\SAP\MobileInfrastructure\lib\system\jdk14\iaik_jce.ja
    r;C:\Program Files\SAP\MobileInfrastructure\lib\system\xalan.jar;C:\Program File
    s\SAP\MobileInfrastructure\lib\webserver.jar;;;;C:\Program Files\SAP\MobileInfra
    structure\lib\system\jdk13\iaik_jce.jar;C:\Program Files\SAP\MobileInfrastructur
    e\lib\system\jdk13\iaik_javax_crypto.jar;1\lib\tools.jar
    C:\Program Files\SAP\MobileInfrastructure>SET PATH=C:\WINDOWS\system32;C:\WINDOW
    S;C:\WINDOWS\System32\Wbem;c:\Program Files\IBM\Client Access\Emulator\;c:\Progr
    am Files\IBM\Client Access\Shared\;c:\Program Files\IBM\Client Access\;C:\Progra
    m Files\Windows Imaging\;C:\Program Files\Java\jdk1.5.0_11\bin;C:\Program Files\
    SAP\MobileInfrastructure/bin/DB2e/
    C:\Program Files\SAP\MobileInfrastructure>"C:\Program Files\Java\1.5.0_11\bin\ja
    va.exe"  -DSERVER_IMPL="com.sap.tc.webdynpro.serverimpl.me.MEServerImplementatio
    n" -Duse.repository=noDB com.sap.ip.me.core.Startup "-home:C:\Program Files\SAP\
    MobileInfrastructure"
    The system cannot find the path specified.
    C:\Program Files\SAP\MobileInfrastructure>SET CLASSPATH=
    C:\Program Files\SAP\MobileInfrastructure>

    Hi,
    Note 1086971
    To install and launch MI Client on Windows Vista OS, install SUN JDK/JRE 1.5 Update 11 and higher.  This is because only this version of SUN J2SE supports Windows Vista OS.  For details please refer to http://java.sun.com/j2se/1.5.0/system-configurations.html.
    I think I have to install this version of Java.
    Regards Maik

  • How do I restore files from TM backups with broken links?

    I have Time Machine backups with broken links all over the more recent backups.
    I get the message "The alias “xxx” can’t be opened because the original item can’t be found." whenever I click on one of the links.
    I have made the backups on my external usb backup drive before before upgrading my internal disk to a larger one.
    Two questions: 1) How can I recover the files?  2) What happened, how can I repair the backup if possible?
    The sequence of events was: Made the latest backup.  Apple ran extended diagnostics overnight at the store and did a reinstall of the OS (10.8.2).  I passed on restoring the backup and went to an authorized service center and had them put in a new tera-byte drive.  I deleted (in the star-wars display) the oldest two and a middle backup leaving the Aug, Oct, and latest Nov. backups.
    Now I see 100's 1000's of bad links.  If I look at the backup (just look) with finder I can see directories for July and Sept in addition to the ones I didn't delete.
    It appears that the files are probably all there and I could recover them a few at a time if I poke around.
    I am tempted to do this before trying to repair the disk.  Yes, it will take me ages; but I would rather take the time than a chance at doing -Anything- that could even possibly make things worst.  I can see 3 senarios and wonder if anyone can say what would be best. And by best I mean **Safest**.
    1) Go in TM to the Aug backup that seems to have no (or maybe only a few) broken links and restore that; then move in TM to newer backups and restore one folder or file at a time on top of it.
    2) Do the same thing with a restore of Aug but then use the finder to copy newer files from the backup disk to the new disk.
    3) Do essentially the same thing; but do it all in finder.
    Of course that still begs the question of what happened and if the backup can be repaired; but to me, that is secondary to getting the data back.
    fyi- I have looked at the TM hints and debug-repair file.  I realize I can try a repair disk but I am tempted to try to get the data 1st unless someone is Sure a repair won't mung the data more.
    Thanks

    The section titled "Restoring data from Time Machine backups" in the following may help: http://support.apple.com/kb/HT1427

Maybe you are looking for