Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Eclipse LAN Network Permissions - MacOS 27.x

Aperta
#3,009 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, macos
Ambito
backend

Direzione di ricerca

Start by comparing how the issue launches Eclipse from Finder with launching ./Eclipse.app/Contents/MacOS/eclipse from Terminal, then trace how the Eclipse launcher starts Java programs on macOS. Reproduce the LAN connection failure with the reported JSch FTP example and check the macOS network permission behavior. Done means identifying why the launch paths differ and documenting or fixing the cause so the program can connect when Eclipse is opened normally.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Version: 2026-09 (4.41.0)
Build id: 20260903-0720

This report describes a problem running a java program from Eclipse which attempts to make a LAN connection. Normally when any application attempts to make a LAN connection for the first time on MacOS you get a dialog box appear asking if you want to permit it or deny it. When Eclipse opens for the first time you are asked this question.

For the purpose of this example I am running a program which uses jsch to make a ftp connection to a server on the same LAN.

Assuming I have launched eclipse by clicking on the app name (normal startup) and then run my java program it will fail to make a connection to the ftp server - reporting "no route to host". This is despite Eclipse being granted network permissions. See image below.

If I then close Eclipse and open a terminal to where I have put the Eclipse application and run Eclipse using the Command line "./Eclipse.app/Contents/MacOS/eclipse" I can then open the same java program and run it without any exceptions. The LAN connection is successful. See image below.

Clearly there is a difference with the process which is launching the java program and in the first instance it seems that MacOS does not think the process owner has permissions.

I suspect that Terminal has permissions and by starting Eclipse from it means that the child process inherits the necessary permissions. If the Eclipse.app is launcher by clicking on it then something is different - maybe some other process is wrapping up the launch process and it does not have permissions.

For the moment I have created a .command file to Launch Eclipse which works around the problem but I think it would be useful to know why such differences occur.

Image Image
Lingua principale
Java
Stelle
165
Fork
174
Merge medio
2g 16h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-platform/eclipse.platform

Tutte le issue di eclipse-platform/eclipse.platform

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.