I’m writing a console app that will run in Linux and Windows systems. This app will mainly run on JRE 1.8 environments. In my code, it needs to get a list of Java processes that run on the host running my application. I have read the posts about jps, which come as a part of JDK, but not JRE, and
Tag: console-application
Java: Bank simulation: Write to file, erased text/writing symbols
As a way to learn java, I attempted to write something simulating a bank(adding or removing numbers). I succeeded in creating a file(if one does not exist already), and then read from it, but when I attempt to write to it, it fails. I started with FileWriter, where it just erased the text in the document(balance.txt). I then tried BufferedWriter,