You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Antonio Vieiro (JIRA)" <ji...@apache.org> on 2017/12/12 16:19:00 UTC
[jira] [Created] (NETBEANS-210) Unable to unpack maven index on
Linux
Antonio Vieiro created NETBEANS-210:
---------------------------------------
Summary: Unable to unpack maven index on Linux
Key: NETBEANS-210
URL: https://issues.apache.org/jira/browse/NETBEANS-210
Project: NetBeans
Issue Type: Bug
Components: projects - Maven
Affects Versions: 9.0
Environment: Product Version = Apache NetBeans IDE Dev (Build 20171212-unknown-revn)
Operating System = Linux version 4.9.0-4-amd64 running on amd64
Java; VM; Vendor = 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12; Oracle Corporation
Runtime = OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
Java Home = /usr/lib/jvm/java-8-openjdk-amd64/jre
System Locale; Encoding = es_ES (nb); UTF-8
Home Directory = /home/antonio
Current Directory = /home/antonio/SOFTWARE/NETBEANS
User Directory = /home/antonio/.netbeans/dev
Cache Directory = /home/antonio/.cache/netbeans/dev
Reporter: Antonio Vieiro
Priority: Blocker
Attachments: maven-1.png, maven-2.png, maven-exception.txt
In Linux the system property "java.io.tmpdir" is set to "/tmp" by default.
In modern Linux distributions (Debian 9, Ubuntu?) the "/tmp" filesystem is only a few gigabytes big. In my case "df -h" reports:
{code}
/dev/sda5 1,9G 12M 1,7G 1% /tmp
{code}
These "1.9G" of total size are not big enough to unpack the maven index, so NetBeans *always* fails to unpack the maven index, and cannot run Maven based projects.
A solution to the problem could be adding
{code}
-Djava.io.tmpdir=[netbeans_user_directory]/tmp
{code}
at startup, adding it to [netbeans_installation_directory]/etc/netbeans.conf
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)