[ 
https://issues.apache.org/jira/browse/NETBEANS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296758#comment-16296758
 ] 

Antonio Vieiro commented on NETBEANS-210:
-----------------------------------------

See PR#329 https://github.com/apache/incubator-netbeans/pull/329

> 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
>            Assignee: Antonio Vieiro
>              Labels: Java9-IDE
>         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)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

Reply via email to