facebook

Why can’t I just type in some code and run it? [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #227193 Reply

    Mork
    Participant

    Will Eclipse support the ability to just type in some Java code and run it without having to create a project and then associate the main method in the “run” applet?

    Sometimes, I just want to type in a piece of code and run it.

    In these times, I use TextPad or some other “simple” editor.

    It would be nice if I could do this in Eclipse/MyEclipse.

    If there’s a way to run a little code w/o creating a project first, I’d like to hear how to do it.

    Thanks.

    — M

    #227199

    Greg
    Member

    You could use a Java scrapbook page to execute arbitrary java code. Simple create a scrapbook page, type in some java code, highlight it and right-click and execute.

    Open up the eclipse help content and take a look at the Java Development User Guide > Concepts > Scrapbook topic for more information.

    #227202

    Mork
    Participant

    I should have known there’d be a way to do this. <s>

    Thank you very much for your kind reply.

    –M

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Why can’t I just type in some code and run it? [Closed]

You must be logged in to post in the forum log in