How do i run a file which my teacher gives me?

Answered

So my teacher gave me this file. But whenever I try and run it, it doesn't work. It works on Jcreator though. 

0
1 comment

Hello.

First, if you need to create a new java project, follow this video tutorial: https://youtu.be/c0efB_CKOYo

Then copy your files to project's src folder, either using finder or by dragging them to IDEA project window.

Another way - is to invoke File | New project from existing source, and choose the folder where you have downloaded the files.  

After you have added files to a project, you need a main method to run, I suppose it is located at BoxApplication.java.

Open BoxApplication.java, from Run menu choose Run (or press Ctrl - Alt - R) and select BoxApplication.java from the list.

For screenshot please check:
https://www.jetbrains.com/help/idea/running-applications.html

0

Please sign in to leave a comment.