flathub / flathub/org.eclipse.Java

Environment variables for run configurations are not set when using host system JRE

Ouverte
#34 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Aucune donnée de langage
Étoiles
6
Forks
10
Merge moyen
7 h 27 min
PR mergées (30 j)
2

Description

No environment variables set in this menu are visible to the application:
![image](https://user-images.githubusercontent.com/15892014/117139208-42b3ec80-adac-11eb-881e-32b159eed056.png)

This worked on a previous install through snap. Also configuring it to replace environment variables does not remove existing env vars:
![image](https://user-images.githubusercontent.com/15892014/117139367-75f67b80-adac-11eb-8fd3-b6859bcd4345.png)
```java
System.out.println(System.getenv().keySet());
```
```
[PATH, INVOCATION_ID, XAUTHORITY, LC_MEASUREMENT, LC_TELEPHONE, MANDAT....
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the issue in the run configurations menu with the host system JRE, using the Java environment-variable example from the report. Compare variables added or replaced in the menu with those visible to the launched application; done means configured variables are visible and replacement removes the existing values.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
28/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.