samci
samci

Reputation: 13

How can I open and run .java files in eclipse?

I have to work with a bunch of small applets that were sent to me in a folder, all of them are .java files. In order to see which part of the code is responsible for a particular outcome I want to open it in eclipse and run it there too. How can I do this?

I have tried copying the code into a new eclipse window, but it could not run it.

Upvotes: 0

Views: 125

Answers (1)

Ramesh Kotha
Ramesh Kotha

Reputation: 8322

.java files are pure text files, create java project in eclipse and copy the files there.

Upvotes: 3

Related Questions