Results 1 to 11 of 11
Thread: a really stupid question
- 11-07-2007, 10:53 PM #1Member
- Join Date
- Nov 2007
- Rep Power
- 11-07-2007, 11:26 PM #2
Hmm.. i htink if you can point a different .netbeans directory (which is in your home directory but i dont remember how they call it. This directory basically holds all information about your IDE, like preferences. I dont remember the terminology they used for this directory.) for each of the instances you can run two instances at the same time.I guess Netbeans also checks this directory for a lock file to detect if the IDE is already running.
- 01-26-2008, 07:31 AM #3
Yes it is. I have this experience before. But you can do one stupid thing to the machine. If you really want to do this, install to copies of NetBeans in two HDD partitions. Then you can run two IDEs at the same time. At that point, as JavaBean says, IDEs point to two different directories and each one doesn't know that it is already running. I've done this before, but it is really stupid thing.
- 06-25-2008, 06:25 AM #4
Yes, you can. Its a really bad idea, as its really slow. I used to get it by accident when I lost the NB window and would click on the desktop icon to get another.
I haven't tried it on a really fast machine, but on an average machine, its a bad idea.
- 06-25-2008, 06:59 AM #5
Even on a past machine it's a bad idea. I've test it on a 3GHz, 2GB machine. Two instance of IDE is quite good, but still able to stuck the whole system.
Even on a low configuration machine, by a single instance you can get system clash, because of the previous instance clash on your system. I'll explain it more in this way. Say you open the IDE and close it within few seconds. Then again open it in few seconds and keep going few times, may be two times enough. At some point you got a warning message that another instance is running. But physically you can't see any. Reason is, even you close the IDE there modules are loading. It can't suddenly killed. If it's happened few times, you get the memory issues.
- 06-25-2008, 07:51 AM #6
netbeans.exe --userdir C:\MyOtherUserdir1
netbeans.exe --userdir C:\MyOtherUserdir2
should solve your problem.
Have you heard about vastly used IDE Eclipse [ http://www.java-forums.org/new-java/...your-code.html ;) ]i am the future
- 06-25-2008, 08:01 AM #7
- 06-25-2008, 08:05 AM #8
Oh, Ah, ooch!
Like vastly used Windows is not the Best.
how about creating a POLL of best IDE :rolleyes:i am the future
- 06-25-2008, 08:18 AM #9
- 06-25-2008, 07:39 PM #10
- 06-25-2008, 09:06 PM #11Member
- Join Date
- Jun 2008
- Rep Power
You may have several projects open in FDI at the same time. When a project is more open, you must specify what is the main project. The main project is one that FDI executed when you click the button Run main project. To switch the main project, click on the button right-m dares on a project in the Project window and choose Set as the primary project.
When you create a new project Ruby, FDI creates a file called main.rb by default, and defines this file as the main script. When you click the button Run main project (Run button main project), FDI saves all the changes and runs the main script. To switch to a different start up script, click with the right mouse button in the node Project Projects in the window and choose Properties from the menu pop up. Select the Run category and, in the text field main script, enter the file name.
Note: main.rb the file is created for Ruby projects. When you create a project Ruby on Rails, as shown in the section Creating a project Ruby on Rails, FDI does not create a file main.rb.
Below are the steps to create a project Ruby.
If you have not already, start the IDE, using the appropriate stage in the following list:
* Windows, Solaris and Linux. Double-click the desktop of NetBeans.
* Mac Double-click the folder NetBeans installation.
2. Right-click the mouse on an empty place in the Project window and choose New Project in pop-up menu.
3. As assistant to New Project, select Ruby in the Categories panel, select Application Projects Ruby in the panel and click Next. If this is the first project Ruby you opened or created, should display a dialog box asking you to choose an interpreter Ruby. Select one of the options for interpreter and click OK.
Call the project, for example, simple_ruby_application, and click Finish.
FDI main.rb displays the file in the editor. Notice how the code puts flame to display the string "Hello World".
5. The Project window shows a logical view of the files of the project. Click the tab Archives to view the physical layout, then go back to the window Projects. With projects Ruby, the views are very similar.
Click the main project Run (Run button main project) to run the application.
- By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 09:49 AM
- By maheshkumarjava in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-29-2008, 11:51 AM
- By bluekswing in forum New To JavaReplies: 7Last Post: 01-08-2008, 07:35 PM
- By javaplus in forum New To JavaReplies: 0Last Post: 12-24-2007, 11:18 AM
- By sonal in forum New To JavaReplies: 1Last Post: 11-29-2007, 10:17 PM