Create a subfolder called ps10
within your
cs111
folder.
In PS 10, you will practice building finite state machines (FSMs) using a software simulator called JFlap.
You first need to install the Java runtime environment on your own machine. Here are the instructions for doing so:
Next, download the following file, storing it in your ps10
folder:
JFLAP.jar
Finally, double-click on JFLAP.jar
to run the program.
If you have trouble getting JFlap to work on your Mac, you may need to take one or more of the following steps:
Install the Java runtime environment following the instructions provided above.
If you are unable to download JFlap.jar
using Chrome, try using
Safari instead.
If you are still having trouble after you switch to Safari, you may need to lower your security settings.
If you are unable to run JFLAP, try moving JFlap.jar
to your
Applications folder.
If you can’t save one of your .jff
files to
your Desktop, try saving it to a different folder.
If you can run JFLAP but can’t see any files
when you use File->Open, try putting the ps10
folder in your
Application Folder.
If that doesn’t work, take the following steps:
Find JavaLauncher in Finder.
Add JavaLauncher to the list of applications that have Full Disk Access.
Launch JFLAP like normal and you should be able to access the files.
You can view a video illustrating the necessary steps. You can access it here: https://youtu.be/u71uMBja-No
If nothing else works, use JFLAP on the virtual desktop (see below).
If you have trouble getting JFlap to work on your Windows machine, you may need to take one or more of the following steps:
Install the Java runtime environment following the instructions provided above.
If you cannot run the JFLAP.jar
file even after installing Java,
try taking the following steps;
Open the command prompt (search for cmd
in the search
bar/start menu and hit Enter when you find it).
Use the cd
command to navigate to the folder in which
the the .jar
file was downloaded. In most cases, you can
simply do the following:
cd Downloads
Enter the following command from the downloads folder:
java -jar JFLAP.jar
If the size of the JFlap window is extremely small, you may need to temporarily lower your screen resolution to make JFlap larger.
If nothing else works, use JFLAP on the virtual desktop (see below).
If you can’t get JFlap to work on your own computer, you can use it
on the virtual desktop. Once you are in the virtual desktop,
you should find a folder named JFLAP
that contains the necessary
program.
Last updated on September 8, 2024.