Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Eclipse LAN Network Permissions - MacOS 27.x

オープン
#3,009 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
43/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, macos
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Java
スター
165
フォーク
174
平均マージ
2日 16時間
マージ済み PR(30日)
42

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-platform/eclipse.platform のほかの issue

eclipse-platform/eclipse.platform の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。