{"id":15069101,"url":"https://github.com/drsnowbird/netbeans-docker","last_synced_at":"2025-09-03T01:38:18.331Z","repository":{"id":90087518,"uuid":"149918864","full_name":"DrSnowbird/netbeans-docker","owner":"DrSnowbird","description":"Apache Netbeans 12 Docker Container","archived":false,"fork":false,"pushed_at":"2021-06-27T04:21:56.000Z","size":121,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T14:44:24.648Z","etag":null,"topics":["java-11","netbeans-ide12","openjdk"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrSnowbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-22T21:00:02.000Z","updated_at":"2023-11-01T18:13:50.000Z","dependencies_parsed_at":"2023-03-13T17:59:58.427Z","dependency_job_id":null,"html_url":"https://github.com/DrSnowbird/netbeans-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fnetbeans-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fnetbeans-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fnetbeans-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSnowbird%2Fnetbeans-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrSnowbird","download_url":"https://codeload.github.com/DrSnowbird/netbeans-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248256028,"owners_count":21073444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java-11","netbeans-ide12","openjdk"],"created_at":"2024-09-25T01:40:29.408Z","updated_at":"2025-04-10T16:51:37.983Z","avatar_url":"https://github.com/DrSnowbird.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netbeans-docker\n[![](https://images.microbadger.com/badges/image/openkbs/netbeans-docker.svg)](https://microbadger.com/images/openkbs/netbeans-docker \"Get your own image badge on microbadger.com\") [![](https://images.microbadger.com/badges/version/openkbs/netbeans-docker.svg)](https://microbadger.com/images/openkbs/netbeans-docker \"Get your own version badge on microbadger.com\")\n\n* Netbeans 12 + Java 8 OpenJDK + Maven 3.6 + Python 3.8 + Gradle 6 + X11 (display GUI)\n\n# Components\n* Netbeans 12:\n  * [Apache NetBeans 12.0](https://netbeans.apache.org/)\n* Base Components (e.g., Maven, Java, Python, NodeJS, etc.)\n  * See [openkbs/jdk-mvn-py3](https://github.com/DrSnowbird/jdk-mvn-py3/blob/master/README.md#Components)\n* X11 display desktop\n\n# Run (recommended for easy-start)\nImage is pulling from openkbs/netbeans-docker\n```\n./run.sh\n```\n\n# Run with docker-compose\nYou need to create a directory for netbeans to store configuration. \nNote, if you don't create .netbeans directory, the starting of Netbeans will fail!\n(Hence, we recommend to use ./run.sh as above to start the container since the script does all the needed setup before startup.)\n```\ngit clone https://github.com/DrSnowbird/netbeans-docker.git\ncd netbeans-docker\nmkdir .netbeans\ndocker-compose up\n```\n\n# Build\nYou can build your own image locally.\nNote that the default build docker is \"photon\" version. \nIf you want to build older Eclipse like \"oxygen\", you can following instruction in next section\n```\n./build.sh\n```\n\n# Configurations (Optional)\nIf you run \"./run.sh\" instead of \"docker-compose up\", you don't have to do anything as below.\n\n* The container uses a default \"/workspace\" folder. \n* The script \"./run.sh\" will re-use or create the local folder in your $HOME directory with the path below to map into the docker's internal \"/workspace\" folder.\n```\n$HOME/data_docker/eclipse-phonto-docker/workspace\n```\nThe above configuration will ensure all your projects created in the container's \"/workspace\" being \"persistent\" in your local folder, \"$HOME/data_docker/eclipse-phonto-docker/workspace\", for your repetitive restart docker container.\n\n# See Also - Docker-based IDE\n* [openkbs/knime-vnc-docker (VNC/NoVNC)](https://hub.docker.com/r/openkbs/knime-vnc-docker/)\n* [openkbs/knime-docker (X11/Desktop)](https://hub.docker.com/r/openkbs/knime-docker/)\n* [openkbs/vscode-docker-x11  (X11/Desktop))](https://hub.docker.com/r/openkbs/vscode-docker-x11/)\n* [openkbs/atom-docker](https://hub.docker.com/r/openkbs/atom-docker/)\n* [openkbs/eclipse-oxygen-docker](https://hub.docker.com/r/openkbs/eclipse-oxygen-docker/)\n* [openkbs/eclipse-photon-docker](https://hub.docker.com/r/openkbs/eclipse-photon-docker/)\n* [openkbs/eclipse-photon-vnc-docker](https://hub.docker.com/r/openkbs/eclipse-photon-vnc-docker/)\n* [openkbs/intellj-docker](https://hub.docker.com/r/openkbs/intellij-docker/)\n* [openkbs/intellj-vnc-docker](https://hub.docker.com/r/openkbs/intellij-vnc-docker/)\n* [consol/ubuntu-xfce-vnc](https://hub.docker.com/r/consol/ubuntu-xfce-vnc/)\n* [openkbs/eclipse-photon-vnc-docker](https://hub.docker.com/r/openkbs/eclipse-photon-vnc-docker/)\n* [openkbs/netbeans10-docker](https://hub.docker.com/r/openkbs/netbeans10-docker/)\n* [openkbs/netbeans](https://hub.docker.com/r/openkbs/netbeans/)\n* [openkbs/papyrus-sysml-docker](https://hub.docker.com/r/openkbs/papyrus-sysml-docker/)\n* [openkbs/pycharm-docker](https://hub.docker.com/r/openkbs/pycharm-docker/)\n* [openkbs/rapidminer-docker](https://cloud.docker.com/u/openkbs/repository/docker/openkbs/rapidminer-docker)\n* [openkbs/scala-ide-docker](https://hub.docker.com/r/openkbs/scala-ide-docker/)\n* [openkbs/sublime-docker](https://hub.docker.com/r/openkbs/sublime-docker/)\n* [openkbs/webstorm-docker](https://hub.docker.com/r/openkbs/webstorm-docker/)\n* [openkbs/webstorm-vnc-docker](https://hub.docker.com/r/openkbs/webstorm-vnc-docker/)\n* [Sqlectron SQL GUI at openkbs/sqlectron-docker](https://hub.docker.com/r/openkbs/sqlectron-docker/)\n* [Mysql-Workbench at openkbs/mysql-workbench](https://hub.docker.com/r/openkbs/mysql-workbench/)\n* [PgAdmin4 for PostgreSQL at openkbs/pgadmin-docker](https://hub.docker.com/r/openkbs/pgadmin-docker/)\n\n# Releases Versions\n```\ndeveloper@320821426f42:~$ /usr/scripts/printVersions.sh \n+ echo JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nJAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\n+ whereis java\njava: /usr/bin/java /usr/share/java /usr/lib/jvm/java-8-openjdk-amd64/bin/java /usr/share/man/man1/java.1.gz\n+ echo\n\n+ java -version\nopenjdk version \"1.8.0_252\"\nOpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)\nOpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)\n+ mvn --version\nApache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)\nMaven home: /usr/apache-maven-3.6.3\nJava version: 1.8.0_252, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre\nDefault locale: en, platform encoding: UTF-8\nOS name: \"linux\", version: \"5.3.0-62-generic\", arch: \"amd64\", family: \"unix\"\n+ python -V\n/usr/scripts/printVersions.sh: line 8: python: command not found\n+ python3 -V\nPython 3.8.2\n+ pip --version\n/usr/scripts/printVersions.sh: line 10: pip: command not found\n+ pip3 --version\npip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)\n+ gradle --version\n\nWelcome to Gradle 6.0.1!\n\nHere are the highlights of this release:\n - Substantial improvements in dependency management, including\n   - Publishing Gradle Module Metadata in addition to pom.xml\n   - Advanced control of transitive versions\n   - Support for optional features and dependencies\n   - Rules to tweak published metadata\n - Support for Java 13\n - Faster incremental Java and Groovy compilation\n - New Zinc compiler for Scala\n - VS2019 support\n - Support for Gradle Enterprise plugin 3.0\n\nFor more details see https://docs.gradle.org/6.0.1/release-notes.html\n\n\n------------------------------------------------------------\nGradle 6.0.1\n------------------------------------------------------------\n\nBuild time:   2019-11-18 20:25:01 UTC\nRevision:     fad121066a68c4701acd362daf4287a7c309a0f5\n\nKotlin:       1.3.50\nGroovy:       2.5.8\nAnt:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019\nJVM:          1.8.0_252 (Private Build 25.252-b09)\nOS:           Linux 5.3.0-62-generic amd64\n\n+ npm -v\n6.14.5\n+ node -v\nv14.5.0\n+ cat /etc/lsb-release /etc/os-release\nDISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=20.04\nDISTRIB_CODENAME=focal\nDISTRIB_DESCRIPTION=\"Ubuntu 20.04 LTS\"\nNAME=\"Ubuntu\"\nVERSION=\"20.04 LTS (Focal Fossa)\"\nID=ubuntu\nID_LIKE=debian\nPRETTY_NAME=\"Ubuntu 20.04 LTS\"\nVERSION_ID=\"20.04\"\nHOME_URL=\"https://www.ubuntu.com/\"\nSUPPORT_URL=\"https://help.ubuntu.com/\"\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\nVERSION_CODENAME=focal\nUBUNTU_CODENAME=focal\n```\n# Display X11 Issue\nMore resource in X11 display of Eclipse on your host machine's OS, please see\n* [X11 Display problem](https://askubuntu.com/questions/871092/failed-to-connect-to-mir-failed-to-connect-to-server-socket-no-such-file-or-di)\n* [X11 Display with Xhost](http://www.ethicalhackx.com/fix-gtk-warning-cannot-open-display/)\n\n# Other possible Issues\nYou might see the warning message or something similar in the launching xterm console like below, you can just ignore it. I googled around and some blogs just suggested to ignore since the IDE is still functional ok.\n```\n** (eclipse:1): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wrKH8o5rny: Connection refused\n** (java:7): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wrKH8o5rny: Connection refused\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsnowbird%2Fnetbeans-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrsnowbird%2Fnetbeans-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsnowbird%2Fnetbeans-docker/lists"}