Using Java with Windows 10

I’m starting to get more requests for information about using the materials in Java eLearning Kit for Dummies with Windows 10. Java for Dummies eLearning Kit is designed for use with Windows 7, Linux, or Mac OS X, and Java 7. However, as mentioned in the Java 7 Patches and Future post, I’ve tested enough of the code with Java 8 to feel fairly certain that the book will also work fine with Java 8. Unfortunately, using the book with Windows 10 will prove problematic.

The Windows 10 and Java FAQ sheet tells you about the some of the issues in using Java with the new operating system. For example, you can’t use the Edge browser with Java because it doesn’t support plug-ins. You need to install a different browser to even contemplate using Java eLearning Kit for Dummies—I highly recommend Firefox or Chrome, but the only requirement is that the browser support plugins.

Because Java eLearning Kit for Dummies is supposed to provide you with a more intense than usual learning experience, using Windows 10 is counterproductive. For example, none of the procedures in the book will work with Windows 10 because even the act of accessing the Control Panel is different. With this in mind, I truly can’t recommend or support Windows 10 users for this particular book without saying that your learning experience will be less complete than I intended when I wrote the book.

There is still no timeline from the publisher for creating an update of this book. If you really want a Windows 10 version of this book, then you need to contact the publisher directly at http://www.wiley.com/WileyCDA/WileyTitle/productCd-1118098781.html and ask for it. If you have any book-specific questions, please feel free to contact me at John@JohnMuellerBooks.com.

 

Warnings in Python and Anaconda

It seems as if Python developers are having more than a few problems at the moment from a number of sources. I recently wrote about the potential issues for readers of Beginning Programming with Python For Dummies and Python for Data Science for Dummies from Windows 10 (Python and Windows 10). However, some readers have come back afterward to say they’re still seeing warnings. It wasn’t until one of the beta readers for Machine Learning for Dummies also saw some of these warnings that it became apparent that some other problem is at work. A recent upgrade to NumPy 1.10.1 has created these warnings. You can see some message threads about the issue at:

The important thing to remember is that you’ll see warnings, not errors (unless there is a problem Luca, my coauthor for Python for Data Science for Dummies, and I haven’t seen yet). For now, updating all of the Anaconda components is the only way to actually get rid of the warnings, which can prove to be quite a pain. However, the warnings are just that, warnings. The code in the books will still run just fine. The best way to avoid a lot of work and potentially creating yet more problems is to ignore the warnings for now. In order to ignore the warnings, type the following two lines of code:

import warnings
warnings.simplefilter("ignore")

Obviously, the situation is inconvenient for everyone, but the various libraries will get in sync sometime soon and then the warnings will disappear until the next set of updates. Please let me know if you continue to see problems after making this fix at John@JohnMuellerBooks.com.

 

Python and Windows 10

A number of Beginning Programming with Python For Dummies and Python for Data Science for Dummies readers have written to tell me that the installation instructions for Python in these two books don’t appear to work well with Windows 10. Unfortunately, Windows 10 wasn’t available during the writing of either book, but the operating system does seem to present problems for a number of people—not just developers. Microsoft’s enforced upgrades are just one source of woe. Of course, Windows 10 has its supporters as well who are trying to tell you not to worry about these issues. I’m not here to tell you whether you should use Windows 10 or not—that’s a topic for another post. However, I also understand you need a fix for the installation process for these two books if you are running Windows 10.

For the most part, all you really need to do is install Python 3.x for Beginning Programming with Python for Dummies and Anaconda for Python for Data Science for Dummies. The problem doesn’t appear to be the actual installation (given there are no error messages when the installation completes), but rather accessing the applications after the installation. To ensure you can access the applications, you need to be sure they’re part of the path. You may also need to open a command prompt to start the applications, rather than rely on a Start Menu entry to access them. Given that I don’t have Windows 10 installed and don’t plan to install it for now because I need to support the documented configurations for the books, the best I can do is direct you to a site where you can discover how to perform these tasks under Windows 10. The article I suggest is: Setting up your Windows 10 System for Python Development (PyDev, Eclipse, Python). You don’t need to setup Eclipse or do anything else fancy. Once you have Python installed, you should be ready to go.

My feeling is that Windows 10 is going to create more than a few problems for developers because the forced upgrades will mean that you can’t ever rely on your setup being stable. The moment you get one set of Microsoft induced problems fixed, the operating system will automatically download a new set to your machine. For this reason, I can’t recommend using Windows 10 for development purposes. You’ll be better served with Windows 7 or Windows 8, with Windows 7 being the optimal choice. It could be that I’m wrong on this issue and I do plan to explore it further, but for the moment, I’m not offering Windows 10 support directly. I’ll do what I can to get you up and running with your Windows 10 system, but I can’t guarantee results because my books haven’t been written with the vagaries of Windows 10 in mind. Please let me know about your book-specific questions and concerns at John@JohnMuellerBooks.com.