apache / apache/netbeans

unable to build Netbeans from within Netbeans

Open
#7,872 5 comments 0 reactions 0 assignees View on GitHub
Ant build kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 23

### What happened

I cloned the Netbeans repository and started from within Netbeans **ant build**.

Then the build stops at

https://github.com/apache/netbeans/blob/01a871f055428abdf37d5b5d09999909e5825a48/java/api.debugger.jpda/build.xml#L29

this line with the message, that **com/sun/jdi/AbsentInformationException.class** was not found.

I tested this using JDK 17, JDK 21 but with Netbeans internal Ant. So far I did not use a separate Ant installation.

How can I tackle this problem? How to find my missconfiguration?

### Language / Project Type / NetBeans Component

Netbeans itself

### How to reproduce

1. I cloned the Netbeans repository
2. right click on build.xml and **ant build**.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 11

### JDK

17, 21

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

This happens every time.

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start with java/api.debugger.jpda/build.xml at the referenced line and reproduce the build from the NetBeans IDE using its internal Ant with JDK 17 or 21 on Windows 11. Check why com/sun/jdi/AbsentInformationException.class is unavailable; done means the repository build completes successfully from within NetBeans.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.