--- old/src/windows/bin/java_md.c Wed Dec 11 15:16:07 2013 +++ new/src/windows/bin/java_md.c Wed Dec 11 15:16:07 2013 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -188,6 +188,11 @@ wanted = 32; continue; } + + if (IsJavaArgs() && argv[i][0] != '-') + continue; + if (i > 0 && argv[i][0] != '-') + break; } if (running != wanted) { JLI_ReportErrorMessage(JRE_ERROR2, wanted);