Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2007, 10:53 PM
Member
 
Join Date: Nov 2007
Posts: 24
SwinGirl is on a distinguished road
a really stupid question
does anyone knows, how to open two netbeans at same time+
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-07-2007, 11:26 PM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 07:31 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,042
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-25-2008, 07:25 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 255
fishtoprecords is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-25-2008, 07:59 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,042
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-25-2008, 08:51 AM
rjuyal's Avatar
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 187
rjuyal is on a distinguished road
netbeans.exe --userdir C:\MyOtherUserdir1

netbeans.exe --userdir C:\MyOtherUserdir2

should solve your problem.


--

BTW

Have you heard about vastly used IDE Eclipse [ What are you using to write your code? ]
__________________
i am the future
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 09:01 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,042
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Vastly use of such not says that it's the best.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-25-2008, 09:05 AM
rjuyal's Avatar
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 187
rjuyal is on a distinguished road
Oh, Ah, ooch!

Like vastly used Windows is not the Best.

how about creating a POLL of best IDE
__________________
i am the future
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 06-25-2008, 09:18 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,042
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
It's already there.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
(Close on September 4, 2008)

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 06-25-2008, 08:39 PM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 255
fishtoprecords is on a distinguished road
Quote:
Originally Posted by rjuyal View Post
how about creating a POLL of best IDE
And how do you quantify "best"? You point out that Windoze's popularity is not a valid measure of "best" so what do you suggest?

The "which do you use" poll is just measuring popularity.
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 06-25-2008, 10:06 PM
Member
 
Join Date: Jun 2008
Posts: 5
reginaldofsilva is on a distinguished road
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.

Try

Below are the steps to create a project Ruby.

1.

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.
4.

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.
6.

Click the main project Run (Run button main project) to run the application.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP Question maheshkumarjava JavaServer Pages (JSP) and JSTL 1 03-29-2008 11:51 AM
Quick Stupid Question bluekswing New To Java 7 01-08-2008 07:35 PM
JNI question javaplus New To Java 0 12-24-2007 11:18 AM
Need help with a question please sonal New To Java 1 11-29-2007 10:17 PM
Question mark colon operator question orchid Advanced Java 3 04-30-2007 11:37 PM


All times are GMT +3. The time now is 10:00 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org