--- old/src/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java Sun Sep 8 20:00:06 2013 +++ new/src/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java Sun Sep 8 20:00:06 2013 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -196,17 +196,8 @@ try { if (home.length() > 0) { - /* - * A wrinkle in the environment: - * 64-bit executables are stored under $JAVA_HOME/bin/os_arch - * 32-bit executables are stored under $JAVA_HOME/bin - */ String os_arch = System.getProperty("os.arch"); - if ("SunOS".equals(System.getProperty("os.name")) && - ("sparcv9".equals(os_arch) || "amd64".equals(os_arch))) { - exePath = home + File.separator + "bin" + File.separator + - os_arch + File.separator + exe; - } else { + if ("SunOS".equals(System.getProperty("os.name"))) { exePath = home + File.separator + "bin" + File.separator + exe; } } else {