netbeans

Deploying netbeans applications - jar file error (could not find main class)

Hi, I have a small GUI application developed with netbeans. I used the 'clean and build' option to build an executable jar file. .jar file works in my pc. But when i sent the application to my friend he says that it throws 'cannot find the main class' error. what could be the reason? Thanks in advance... ...

Netbeans project builds successfully but does not run

It displays like To run this application from the command line without Ant. How can i solve this problem? ...

Which one is better (in support, difficulty, ...) to develop a plugin, Netbeans or Eclipse?

Hi all! I would like to make a new plugin for a programming language because there is not any IDE the time I asked this question. I think IDE developing is far more easier if I try to use one of the available platform like Netbeans or Eclipse or ... As I checked, Eclipse plugin (if that plugin is not updated) won't be able to start up af...

Can't get compile on save / hot deploy feature to work with maven based webapp in eclipse or netbeans

So our new webapp project is based on maven. I'm really liking the dependency management and IDE agnostic approach but I'm having problems with compilation and debugging. Here's how I would currently get a clean copy of the project working Check out the main project from SVN Open the project in IDE (I've tried in eclipse 3.4 and netbe...

Turn off indexing on netbeans

I use Netbeans mainly for PHP. When Setbeans starts, it always indexes all the files of all the projects I have on my list. This can take over half an hour in my case, since I have some very large websites open. It got better in 6.7, 10 minutes at most, but still a waste of time. Still, I'd like to turn off the indexing completely. N...

What does Java Error "Your active platform is: JDK_1.6, but the corresponding property "platforms.JDK_1.6.home" is not found in the project's properties files" mean?

I'm a Java noob (but have been programming for 25+ years, and have worked with OO languages from day 1). All of a sudden I started getting this error: Your active platform is: JDK_1.6, but the corresponding property "platforms.JDK_1.6.home" is not found in the project's properties files. Not sure what caused this condition, and not s...

Using visual studio c++ compiler in netbeans...

Hi I want to develop a few assignment in C++ on windows. But Visual studio does not provide a few user functionalities that makes development a real pain. If some one can help me out with setting netbeans C++ environment to use the same compiler that visual studio is using. thanks - dev Sunday . ...

how do I speed up netbeans' localhost?

I've just switched from radrails to netbeans. So far, so good. But I have noticed that radrails used to serve up pages a lot faster on localhost. I've left the server on glassfish, what can I do to make it run faster I'm on windows xp ...

Is there a Visual Studio 2008 keymap profile for Netbeans?

I know there are keymap profiles for Eclipse and Idea that reflect the VS 2k8 key mapping / shortcuts experience quite well, but do you know where I can find one for my IDE of choice, Netbeans? Could importing from another IDE be possible as well? Many thanks, sk ...

xdebug install problem on xampp -> xubuntu

Greetings! I've been trying to install xdebug on xampp (running on xubuntu) to use with NetBeans 6.7, but after several attemps I'm really stuck. When I try to verify installation with this script: <?php $address = '127.0.0.1'; $port = 9000; $sock = socket_create(AF_INET, SOCK_STREAM, 0); socket_bind($sock, $address, $port) or die('...

Why am i not able to link my C/C++ libraries with NetBeans?

I've downloaded C/C++ libraries from Cygwin, and set the environment variables according to the instructions here, in NetBeans. I've also gone through this. Actually I followed the same steps on a different machine and everything worked out fine. But on my machine the associations aren't made. for example: #include<stdio.h> says No suc...

Possible to view method/function docs in NetBeans for PHP?

I am wondering if its possible to have Netbeans display PHP Documentation for functions/methods/classes when you hover the mouse over a piece of code. I know it shows up documentation as a part of code completion but I don't want to have to start typing out the name of a function which is already included within the source just to read s...

Netbeans doesn't recognize ruby gems installed using Terminal

I have installed a GEM called "Ziya" using the terminal in Mac OSx. However, when I open the application using the Netbeans, it says that the GEM cannot be found. If I install Ziya using the GEM manager, I get the following error and the GEM doesn't get installed, WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and ...

Netbeans scala plugin - no documentation

I have installed Netbeans 6.7.1 with Scala plugin as described here. I got my "Hello World" project to compile and run. The problem I have now is that there is no documentation available for Scala functions and classes, all I get is No document found. In the Scala Platform Manager I have both sources and javadoc not empty and directori...

Launch XDebug in Netbeans on an external request

I'm using Netbeans 6.7 and XDebug to debug a PHP site on my machine, launching the request from within Netbeans (Project->Debug). This works fine, and is very useful. My question is: Is it possible to attach the debugger to any request that comes in, rather just those I launch from within Netbeans? ie, instead of clicking "Debug", pu...

Netbeans Facelets code completion

Does anyone know how one can enable the code completion for xhtml (facelets) files in Netbeans (6.7.1)? According to some information I found on Google it is a known issue that there is no code completion for xml namespaces as used in the xhtml files, but that should be resolved by installing the netbeans facelets support module. But eve...

Deploying a JavaFX application onto a J2ME handset

I've generated a barely minimal JavaFX (1.2) app, using Netbeans 6.7.1. Now I have come to put the app on a) an emulator b) a device. I can't seem to find anywhere in the tooling which will help me do either. what am I missing/doing wrong any thoughts on a very easy handset to get up and running? ...

Netbeans - Entering items in a jComboBox

I have generated a GUI from netbeans in which I have placed a combobox too. By default, the items in combobox are item1, item2, item3, item4. But I want my own items. Netbeans doesn't allow editing generated code so how can i edit the comnbobox according to me. Note: I know one method by editing the "model" property of that jComboBox ...

What is the purpose of the NetBeans 6 'Server Resources' Folder?

In a new JBoss Web Application or EJB project in NetBeans, the 'Server Resources' folder contains two files: jboss-ds.xml jboss4-netbeans-destinations-service.xml However these files are not included in the generated application JAR file. What is the purpose of these files? jboss-ds.xml looks like this: <?xml version="1.0" encodin...

cool debugging of object

I just had an idea that I wonder whether is possible in java. Let's say when doing debugging using eclipse or netbeans, you could record an object and save it. Then when going through the second round of debugging, save the object again. Now you could compare the first object recorded with the second object for all properties and find ou...