File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Problem with executing the right file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Problem with executing the right file" Watch "Problem with executing the right file" New topic
Author

Problem with executing the right file

Maksym Trojanowski
Greenhorn

Joined: Jan 29, 2012
Posts: 12
I'm using JCreator LE and i'm having a problem getting the right file to execute. I just finished working on a program and started another one; the compiler checks for the next program but when i click the execute button, the previous file runs. Any way to fix this?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

I don't use JCreator lE, but many IDEs have the concept of a "main project" and when you hit the Run button, the IDE runs the main project. I know Visual Studio behaves this way, I think NetBeans does also. Typically, the first project created becomes the main project. Look for a project menu item that will let you change the second project to be the main (or primary) project.


JBoss In Action
 
 
subject: Problem with executing the right file
 
Threads others viewed
How to run a batch file from a program?
Working with Java in Linux - how to execute exe files
Series of commands
Classpath question
help regarding batch file
IntelliJ Java IDE