
- #Printwriter making a zero byte file in java how to
- #Printwriter making a zero byte file in java install
#Printwriter making a zero byte file in java how to
Here's how to create a zero byte file: fsutil file createnew c:\windows\msjava.dll 0 Be careful with FSUTIL, because you can really mess things up with it. This one is a little bit more arcane, using FSUTIL.

Just press F6 and enter, and your zero-byte file will be created. After hitting enter, you'll just a blinking cursor.Type the following lines in the command prompt: CD\Windows.Open an elevated command prompt (run as administrator).Now, we don't want some moldy old Java from over a decade ago cluttering up our shiny Windows 7 machine, so to bypass this funky requirement, we will create a zero-byte file with the proper name and in the proper location by following these steps: Method 1

#Printwriter making a zero byte file in java install
If this file does not exist, the setup program will force you to install it.įurther, it forces a reboot of the operating system in order for the changes to take effect. The installation program for Visual Studio is kludged, so it simply checks for the existence of a file with the name MSJava.DLL in the C:\Windows directory.

Read on to find out how to do it at the command prompt.īut first, why do we need to create this file? One of the requirements of Visual Studio 6 is the installation of a "recent" version of Java, particularly of the Microsoft variety. I've been getting quite a few questions from folks lately, asking "Just exactly how do I create a zero-byte file?" There are several ways to do it. The mere presence of a file with this name will allow installation to proceed. During the installation of Visual Studio 6 on Windows 7, 8 or 10, it is necessary to create a zero-byte file called MSJAVA.DLL in the Windows directory.
