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 2018/01/05 09:23:00 UTC

[jira] [Resolved] (NETBEANS-210) Unable to unpack maven index on Linux

     [ https://issues.apache.org/jira/browse/NETBEANS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Vieiro resolved NETBEANS-210.
-------------------------------------
    Resolution: Fixed

Merged 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, pull-request-available
>         Attachments: maven-1.png, maven-2.png, maven-exception.txt
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists