My Oracle Support Banner

[Java SE] Solutions to Issues Caused by Changes to Runtime.exec in Java SE 7u25 (Doc ID 1575591.1)

Last updated on NOVEMBER 12, 2023

Applies to:

Java SE JDK and JRE - Version 7 and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Purpose

To provide some solutions for changes made to Runtime.exec on Windows.  Originally posted to the Java Tutorials Blog on 21 June 2013 by Devika Gollapudi.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
 Background
 Problem 1: "The file path for the command includes spaces"
 Solution:
 Examples:
 Problem 2: "Shell command/.bat/.cmd IO redirection"
 Solution:
 Problem 3: "Group execution of shell command and/or .bat/.cmd files"
 Solution:
 Problem 4: ".bat/.cmd with special DOS chars in quoted params”
 Solution:
 Examples:
 The Golden Rule

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.