Questions tagged [netbeans]

1

votes
2

answer
2.8k

Views

Netbeans installer issue with jdk 11

I downloaded and installed jdk 11 and am now trying to install netbeans 8.2. But i get an error which states 'JAVA SE was not found on this computer.Make sure JDK is properly installed and run installer again. You can specify valid JDK location using --javahome installer argument.' I created a JAVA_...
Mehar Shahani
0

votes
0

answer
8

Views

Error when building Netbeans 11.0 from source

I installed Apache Ant version 1.10.5 on my Windows 10 desktop system in order to build Netbeans 11.0 from source. I set the environmental variables and ant seems to be running properly. However, when I cd to the Netbeans folder and run ant to build it, I get the following error: BUILD FAILED E:\Net...
wllmkphrt
0

votes
0

answer
6

Views

Exception in thread “main” java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 12

I tried to run this below code: JSP Page Hello World! But the IDE show me an error: Exception in thread 'main' java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 12 at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724) at org.netbeans.modules.web.project.ant.JspC.main(JspC...
Huy
0

votes
0

answer
19

Views

Can't find Eclipse (JPA 2.0) as a default library for my Persistence Unit in netbeans

I want to create a Persistence Unit in my netbeans IDE but i can't find Eclipse (JPA 2.0) as a default library, how do i make Eclipse (JPA 2.0) a default library? Thanks for your help in advance.
Tunde
-1

votes
1

answer
25

Views

netbeans vs eclipse project structure comparision

I use Netbeans and i am having the same problem while learning from project that is written in Eclipse. In Eclipse,why is there another folder 'Java Resources'? should not all the source files be in - src/main/java and resources files in -src/main/resources? Why use folder 'Java Resources' to write...
bron
1

votes
1

answer
1.5k

Views

how to customize jTable header column font size in Netbeans?

I tried to change jtable header font size in Netbeans. but couldn't yet. anyway the table rows font size is changed successfully. Here is the way I used: The output after changes: Problem : The Header font size is not changed. but I want to change that also. so pls help me how to do.
siper camm
1

votes
1

answer
2.9k

Views

NetBeans Installation issues with JDK 10

I'm trying to run NetBeans 8.2. So I installed the necessary requirement (JDK/JRE) but when I select the JDK folder it's says : An unknown error has occurred while validating the path. It's already peculiar that it didn't get recognized automatically but even if I select the folder manually it won't...
El.K Ibrahim
1

votes
4

answer
751

Views

Problem with netbeans 9.0 on Manjaro Linux

I've been using Netbeans 8.2 on Manjaro Linux for a while with no problem at all. Today I made an update of my system and I found that it installed the new Netbeans 9.0 but since that I can't use my old 8.2 version. I tried to uninstall and re-install it with no results. So I decided to try to use t...
I'm Olep
1

votes
1

answer
38

Views

Parameter index out of range (1 > number of parameters, which is 0). how to solve it?

i cant insert my data from java to database This is the sql and statement //query String username = txtUsername.getText(); String password = txtPassword.getText(); String namabisnis = txtBisnis.getText(); String sql = 'insert into user (username,password,namabisnis) values('?','?','?')'; try { prep...
ChesterID
1

votes
0

answer
44

Views

How to compare 2 directory by using netbean8 IDE?

I wanted to compare the code between 2 different directory. In Sublime Text there is a plugin available called Sublime Merge which can compare 2 diff dir but Sublime Text is not open source like Netbean8. I have done lots of goggle to find similar solution in Netbean8. Is there any similar plugin a...
pkk
1

votes
0

answer
117

Views

Hibernate Exception-Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for:

I hava a problem in the server side of my project. I used hibernate for this. There are three entities such as account,chat and chataccount. Account entity is shown below. I didn't use any annotation to getters or setters. @Entity public class Account { @Id @GeneratedValue(strategy = GenerationType....
Vidurajith Darshana
0

votes
2

answer
21

Views

How to load exact number of rows to jTable from MySQL and paginate the remaining?

I am trying to load data from MySQL into my Application, where I have a jTable. I want to load only 100 rows using a query, and I can do that successfully as of now. furthermore, I want to paginate that data, in such a way that if I have the next button, and I click on that, the table should be upda...
Hefaz
1

votes
0

answer
71

Views

NetBeans: “Go to declaration” is not working using PHP

when right click on the name of a class or a method and choose 'Go to declaration' nothing happens. Any help? I have already deleted the folder /home/user_name/.cache/netbeans.
Javier Garcia
1

votes
2

answer
76

Views

git in IntelliJ IDEA without sacrificing netbeans history feature

Below is the image that shows the feature in Netbeans , where the file changes can be compared by doing the right click and changes can be undone. [ It is the feature that help a lot. I want to Switch to IntelliJ, but i could not find a similar feature in it, if it is available how to get to this f...
Neil
1

votes
1

answer
19

Views

Netbeans PHP Go to Declarations serves up functions from across several projects, not limited to just my current project

I work primarily in Drupal/PHP projects. For some reason, once in a while, when setting up a new project my code completion and Go to Declaration serves up results from other projects outside my Sources folder! Why is this?
texas-bronius
1

votes
2

answer
35

Views

About ArrayList and Generic Type [duplicate]

This question already has an answer here: What is the point of the diamond operator in Java 7? 7 answers What is a raw type and why shouldn't we use it? 15 answers 1. First: What is the difference between ArrayList myList = new ArrayList(); ArrayList myList = new ArrayList(); 2. Second: If i decla...
1

votes
0

answer
125

Views

Placing Unique_Ptr in header creates reference to deleted function error?

I've been trying to use G3Log as my logger but I've come into a strange issue. When I do the recommended way of: int main() { std::unique_ptr logWorker = { g3::LogWorker::createLogWorker() }; auto sinkHandle = logWorker->addSink(...); g3::initializeLogging(logWorker.get()); } It works as expected. B...
JamieRhys
1

votes
0

answer
25

Views

NetBeans Xdebug take in front on active breakpoint

I am using NetBeans 8.2 with PHP and Xdebug. Everything working fine but just one issue I am facing, like not issue but needed feature. Scenario I set all required breakpoints I go back to browser and start doing all operation Now the problem is when any breakpoints triggers its stopped execution...
Er.KT
1

votes
0

answer
274

Views

JavaFX: detect when Node is rendered

How can I detect when a Node is rendered? I tried with this code in the controller: private boolean isRendered = false; @Override protected void layoutChildren() { super.layoutChildren(); if(!isRendered){ do_something(); } isRendered = true; } And it works quite good, but there is a bit of lag betwe...
GinoC
1

votes
1

answer
27

Views

NetBeans: Use environment from .bash_profile when running Maven commands

I have a .bash_profile with environment variables I want my IDE, NetBeans, to see during execution but doesn't seem to work. Any hints on how to get the IDE to see this?
javydreamercsw
1

votes
1

answer
105

Views

Connect MySQL with Grails project in Netbeans

I want to connect MySQL with Grails in Netbeans. I am using, Grails version:3.2 Netbeans: 8.2 JDK: 1.8 OS: Windows 10 How to connect my grails project with MySQL Database in NetBeans? I have search through the internet, But could not find any way to add mysql-connector.jar or any other process. Ho...
Muhaimenul Islam
1

votes
1

answer
90

Views

Code running in Netbeans but not in command line

I downloaded the time series classification toolbox available here that I succeed to run with Netbeans (not with Eclipse due to compatibility problems) using the command netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64/ I would like to be able to run it on a server so I need to be able to ru...
Nuageux
1

votes
1

answer
294

Views

Import JPOS (gradle) in NetBeans

I downloaded the jpos-template and ran the gradlew.bat, gradele inatallapp which gives me the following folder structure: |-- COPYRIGHT |-- CREDITS |-- LICENSE |-- README.md |--...
Dexter
1

votes
0

answer
211

Views

I see no change after deploying to google app engine

I have set up a project with Google App Engine this one : http://podcom-191901.appspot.com/ (I have not payed for Google Cloud services, I did podcom-191901 without registering for a free trial. I also received this notifications: I am following this guide: https://blog.idrsolutions.com/2015/09/how-...
luickx
1

votes
0

answer
97

Views

Netbeans - Entity Classes from DB + JSF Pages not working properly

With Netbeans 8.2, after generating Entity classes (Model + Facade + Controller) from a database and JSF Pages from these Classes, I have a problem on viewing / editing / deleting the entries. Everything was successfully generated, but the action links (View, Edit, Destroy) in the List.xhtml view ar...
Pierre
1

votes
1

answer
43

Views

Netbeans IDE 8.02 Java jFrame GUI bulder initComponents error

I am Currently building a GUI for a tic tak toe game and i have finished it all, however when I tried to run it failed so I checked the code to find the problem and the only one i can currently find is that initComponents is red lined and I am Having a hard time finding out why. I am currently new t...
Matt
1

votes
0

answer
12

Views

Rectangle from array is not drawing

I am making a brick breaker game in Java NetBeans 6.9.1. My array map/rectangle is not drawing like it should be. I have no idea what is the problem. Main Class: public static void main(String[] args) { JFrame obj = new JFrame(); GamePlay gamePlay = new GamePlay(); obj.setBounds (10, 10, 700, 600);...
Doishmark
1

votes
0

answer
50

Views

Clear text when you press the JTextField

I'm trying to get the text of the JTextField erased every time I click on it. I made a addFocusListeneBut no word comes out. I do not understand why nick = new JTextField('nick', 5); add(nick); nick.addFocusListener(new FocusListener() { public void focusGained(FocusEvent e) { nick.setText(''); } pu...
zzxbx
1

votes
0

answer
36

Views

NetBeans 8.2 - Shortcut to view background processes

Is there a keyboard shortcut or menu item that will display the running background processes? My situation is: all of my 'lower bar' space is taken up by tabs for other functionalities. Now the IDE has started indexing the maven repositories but is not showing the background process 'tab' in the 'lo...
George Aristy
1

votes
1

answer
133

Views

Switch from header to cpp-File in Netbeans?

Is there a fast way or short-cut to switch from the header-file to the cpp-files in Netbeans? And vice versa?
Qohelet
1

votes
0

answer
94

Views

Use CURL library for C++ in Netbeans

I want to use this example in C++ that uses methods in the CURL library: CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, 'GET'); curl_easy_setopt(hnd, CURLOPT_URL, 'http://52.85.88.42:8020/WsdTransaction/users/FnLogins/ABC123%7CD927F46D6CDECBC7DADA1638AADE301600%7C17082314...
Noe Cano
1

votes
1

answer
141

Views

The prefix “xsd” for element “xsd:element” is not bound. [11]

So I have a task to complete for Friday involving creating a shares system and I'm completely lost in Netbeans. I've used it once before and did reasonably well but I've been stuck on this same issue for 2 hours now. I've obviously gotta create the XML and accompanying schema for this project but s...
David Medlicott
1

votes
0

answer
106

Views

Netbeans autocomplete does not work inside a lambda expression

I have encountered a strange bug in Netbeans 8.2. When declaring an object with a lambda expression, autocomplete for variables inside the lambda does not seem to work, and instead I see global variables, suggestions for keywords amongst other things as shown in the screenshot. As you can see, testS...
Morgan
1

votes
0

answer
486

Views

GlassFish Server 4.1.1 start failed, what i can do?

GlassFish Server 4.1.1 start failed Please check server admin user name and password properties. Also please check the server log file for other possible causes.
rajitha
1

votes
1

answer
2.4k

Views

Netbeans doesn't open new projects

I'm running a windows 10 OS, with NetBeans version 8.2, and JDK 8 latest update version. The problem is that every time I try to open a new project or file in Netbeans, a blank screen appears, and after waiting nothing happens, I have repeated this process multiple times to no avail, I have even del...
Krishnanshu Gupta
1

votes
1

answer
289

Views

Netbeans Spring Boot Initilizr project: Unable to see jsp content in web browser

I am reading Spring in Action, 4th Edition by manning publications and Chapter 5 is about Spring Web App. I am trying to implement textbook example in Netbeans using Maven template Spring Boot Initilizr Project. (Examples by author use Gradle. I want to use Maven Project Management tool) However wh...
JMD
1

votes
1

answer
1.3k

Views

How to use Hibernate 5.2 with JPA 2 in Netbeans 8

I am using Windows 10 and Netbeans 8.2. I am able to use JPA 2 with Hibenate 4.3.x. Actually Netbeans 8.2 comes with Hibernate 4.3.x. Now i want to use Hibernate 5.2.x. I have downloaded Hibernate 5.2.12 as zip file from this link http://hibernate.org/orm/releases/5.2/. Then i have imported it into...
Black Swan
1

votes
0

answer
81

Views

Setup Gstreamer for NetBeans IDE

I have a problem with setting up gstreamer library for my NetBeans IDE. Everytime I try to compile a Gstreamer example code I get this error: Exception in thread 'main' java.lang.UnsatisfiedLinkError: Could not load library: gstreamer In this line of code: Gst.init(); I have gstreamer installed on...
filipkaduch
1

votes
0

answer
95

Views

Error on using pjsua2 in Netbeans

I compiled pjsip, and now I'm trying to use pjsua2 in netbeans for an linux application. Using Swig I was able to get the java code, witch I copied as a package of my project. The project is in github on this link: https://github.com/eduardobonfa/PjsipLinux But when I try to run I got the following...
Eduardo Bonfa
1

votes
1

answer
51

Views

Changed a class name and now Netbeans 8.2 can't run any project

Pretty new to programming in general and my IDE in specific, and need a bit of help. Relevant Info: OS: Windows 7 IDE: Netbeans 8.2 Language: Java Build: 1.8.0_152-b16 I tried to refactor a class name in a project because it had the same name as a library, but you some reason Netbeans wouldn't...
Taylor Sweetman

View additional questions