Software Engineering Project 3
MCINO Code Smeller
-
Import the project from the local repository
-
Make sure
Create project from existing sources
is selected and pressNext
. -
Press
Next
again and the you will see source files have been found. Deselect all of them. -
Your project will now be setup, right-click on the project sidebar and select
Add as Maven project
. -
Next go to
File -> Project Structure... -> Modules
. In the Source tab, make sure that the resources folder in src\main\java is set as a resource module. -
Finally within
Project Structure... -> SDKs
ensure that jdk1.8.VERSION is selected. -
You should now be able to run Main.
NOTE: Sometimes the resources folder is reset in the Project Structure, usually upon changes to the pom.xml file. If this happens simply change it back.
-
Make sure you have Java 8 installed to run the jar file.
-
Download MCINO.jar from the github repository.
-
Try running the jar file on your computer. If it doesn't work download jarfix.exe from the github repository.
-
Run jarfix.exe, if the notification mentions a Java version different to Java 8 follow the steps below, otherwise MCINO.jar should now run.
-
Create a jarfix.ini file and include the following:
[jarfix]
action="C:\PATH_TO_JAVA8_BIN_FOLDER\javaw.exe" -Xmx512m -jar "%1" %* -
Ensure that file is saved as jarfix.ini (extension must be .ini) and that it's saved in same directory as jarfix.exe
-
MCINO.jar should now run.