I wanted to build Java Application using netbean platform but there were no any NetBeans platform to select from.And I could not add one using Manage button.How do I get started?
I am using Netbean 7.0
I'm unsure as to why your installation has become corrupted in this way but you can always add a Platform to your installation through Tools > NetBeans Platform menu item. Click the Add Platform... button and browse to your NetBeans' install directory, for example:
C:\Users\Me\Program Files (x86)\NetBeans 7.0
Then you should be able to select the platform in the wizard.
You should only need to select the top level directory for this to work. I've included a screenshot for you to compare yours to. It's possible that your installation of NetBeans has become corrupted and if you are not seeing the same behavior as pictured below then most likely you'll need to reinstall NetBeans.
Notice in the below screenshot that the Platform Name: is filled out (top red arrow) and the Next button is enabled.
Related
i installed the netbeans IDE and java SEDK today. and the problem is i cant see the java folder in the project category when i tried to create a new project.
It looks like Java SE is not active in your Netbeans installation. To properly use Java SE features you have to follow these steps:
Choose Tools > Plugins from the main IDE's toolbar.
In the Plugins dialog box, click the Installed tab and select Java SE in the list of available features.
Click Activate.
At the Welcome panel of the Installer dialog box, click Activate. When the activation is successfully completed, click Finish.
Click Close to close the Plugins dialog box.
1.First go for Tools -> Plugins.
2.Then search for Java SE in available plugins and download Java
3.Go in installed plugins.
4.Activate plugin and that's all.
The #acm's answer is right. but you need attention that you are adding a new file at beginning of the Netbeans.
To resolve this problem, after you activated java SE as #acm's answer, you need to create a new project not new file on NetBeans.
In latest versions of NetBeans(12.6). You can create a console application from the following steps.
New Project > Java With Ant > Java Application
I tried to import Eclipse project to IntelliJ IDEA, but I got this error:
The eclipse project description contains a reference to a "manually" defined JDK (named JavaSE-1.8).
Just go forward and define an SDK for your project within IntelliJ yourself. See here for the necessary steps:
To define a JDK and a mobile SDK in IntelliJ IDEA
Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
In the leftmost pane, under Platform Settings, click SDKs.
Above the pane to the right, click  and select JDK.
In the dialog that opens, select the installation directory of the JDK to be used and click OK.
... (obviously you don't need the Java ME mobile specific things listed in the original link)
Here they had a similar problem, but with android sdk
You must edit Project SDK in Project Structures > Dependencies to existing Java JDK
I am new to NetBeans and I can't create a "Java Application" project, like shown in all tutorials. I can only create a Java Free-Form Project, but this requires a build script, which I don't have either.
Do I have to download a plugin for it and if so which plugin? Or did I download the wrong NetBeans version?
I am using ubuntu version 15 and NetBeans IDE 8.1.
http://imgur.com/90AeiDG screenshot.
Just make sure you have JDK installed on your system. (I am pretty sure, it would be as Netbeans doesn't install if JDK is not found on your machine, but just to be sure about it). Also, You might have missed to select Java in Select Languages during installation.
To activate a feature manually:
Open the Tools > Plugins menu
Go to the Installed tab.
Select and activate the feature you need.
Return to the New Project dialog.
Visit this link for more help:
http://wiki.netbeans.org/FaqMissingProjectCategories
Found the plugin:
It was in the the "Ant" or the "Ant 1.9.4. Documentation 1.9.4" or Mobility plugin. I downloaded those 3 at the same time, but If I have to guess it was the Mobility plugin.
Not sure if this will help you. I've been working on Windows. I have Netbeans 8.1 and JDK 8 (version 1.8.0.73). When I first started with Netbeans and tried to create my first new Project it opened the New Project window with the Categories portion of the new Project screen focused on the Samples section. I also thought I couldn't create the type of project I wanted to create. If this is what is happening to you, see if you can scroll up in the Categories box. If you can, you should find Java at the top. If you click that, you should then be able to select Java Application in the Projects part of the window.
I've seen a few places where this was asked but I haven't seen where it's been resolved.
I've just installed the tools needed to develop Android applications. This includes, of course, Eclipse. When I try to open the res/main.xml file, I get the error 'could not initialize class java.awt.font'.
I'm running the newest version of Eclipse and all the software required for Android development. I'm running on Ubuntu 10.04 32bit.
Sun JDK and JRE are installed.
Any ideas?
Just right click on the XML file in the package explorer (your navigation pane) and go to "Open With" and then "XML Editor".
From that point, if you just want to look at the code, just above where eclipse puts the "Console" tab (nearer to the bottom of the eclipse window), you should see a small tab, which says "Source". Clicking on that will get you the pure code in the XML file.
Once upon a time there is netbeans plugin called "Developer Collaboration" which allows you make remote pair programming.
Now, in Netbeans 6.7, there is no more this "Developer Collaboration" but there something called "Kenai support". Unfortunately Kenai does not seems to have a real time editor and it seems to be usable only for opensource project, but my project is closed source.
I switched back to the Netbeans 6.5 but I discovered that the "Developer Collaboration" plugin is no more available for download through the Plugin Manager (from Tools > Plugins) and I'm not able to find it from the plugin portal
Where can I find the old "Developer Collaboration" plugin? Or which alternative I have?
The user msmart posted this on the NetBeans Forums, explaining how to install the Developer Collaboration plugin on NetBeans 6.7:
For those of you who want to connect to an XMPP server for collaboration but cannot (or do not want to) use Kennai. The old Developer Collaboration plugin still works for 6.7 but you have to download and install the NBM files manually.
Here is how I got it to work:
1. Download the following NBM files from the Netbeans 6.5.1 repository.
com-sun-collablet-moxc.nbm
com-sun-collablet.nbm
org-netbeans-libs-xmlbeans.nbm
org-netbeans-modules-collab-channel-chat-html.nbm
org-netbeans-modules-collab-channel-chat-java.nbm
org-netbeans-modules-collab-channel-chat-text.nbm
org-netbeans-modules-collab-channel-chat-xml.nbm
org-netbeans-modules-collab-channel-chat.nbm
org-netbeans-modules-collab-channel-filesharing.nbm
org-netbeans-modules-collab-channel-output.nbm
org-netbeans-modules-collab-kit.nbm
org-netbeans-modules-collab-provider-im.nbm
org-netbeans-modules-collab-ui.nbm
They are currently located at the
following URL:
http://updates.netbeans.org/netbeans/updates/6.5.1/uc/final/stable/patch4/extra/
Put all these files in the same directory.
Open Netbeans 6.7.
Click Tools->Plugins
Select the "Downloaded" Tab
Click the "Add Plugins" button
Browse to the folder you saved the NBM files in.
Select all 13 files (CTRL A).
Click OK.
Click Install.
Enjoy.
I have tryed on 6.9 and it doesn't work. Editor Library 1.27 is required, 6.9 has 2+