I experienced something similar today. For me, it related to my company’s internet making use of a security tool called Netskope that intercepts https traffic (yep, companies are sniffing our private traffic too now ;)).
I’ve experienced similar network issues with other tools at work (like python pip installer), and our IT dept advised that we need to install a Netskope root certificate into any tool we use that doesn’t make use of the operating system’s security store (and they use their own).
So, to get a feel for how this issue impacted me in relation to this «eclipse-inst-jre-win64.exe» installer file, I learnt that I could run the installer with an extra argument, to specify my own jvm:
eclipse-inst-jre-win64.exe -vm "C:Program FilesJavajre1.8.0_251"
This got me the following error:
…and that was the clue I needed to realise that this Eclipse installer .exe had JDK 11 built into it.
So, given that, I felt that I should try download my own JDK 11 and add this ‘netskope.pem’ root certificate into that, so I’ll share my steps in doing so:
I grabbed jdk-11 from here:
- http://jdk.java.net/java-se-ri/11
I extracted the “openjdk-11+28_windows-x64_bin.zip” file onto my local drive
- E.g. to “C:UsersGurceIDownloadsjdk-11”
Added ‘nscacert.pem’ to jdk-11’s keystore from the command-line, with:
cd c:UsersGurceIDownloadsjdk-11
binkeytool.exe -import -keystore libsecuritycacerts -file c:ProgramDatanetskopestagentdownloadnscacert.pem
(default keystore password = “changeit”)
I then ran the eclipse-installer with an extra argument to point it to my jdk-11 (rather than its internal one):
eclipse-inst-jre-win64.exe -vm "C:UsersGurceIDownloadsjdk-11"
…and then, finally, the installer worked, no more network issues
I experienced something similar today. For me, it related to my company’s internet making use of a security tool called Netskope that intercepts https traffic (yep, companies are sniffing our private traffic too now ;)).
I’ve experienced similar network issues with other tools at work (like python pip installer), and our IT dept advised that we need to install a Netskope root certificate into any tool we use that doesn’t make use of the operating system’s security store (and they use their own).
So, to get a feel for how this issue impacted me in relation to this «eclipse-inst-jre-win64.exe» installer file, I learnt that I could run the installer with an extra argument, to specify my own jvm:
eclipse-inst-jre-win64.exe -vm "C:Program FilesJavajre1.8.0_251"
This got me the following error:
…and that was the clue I needed to realise that this Eclipse installer .exe had JDK 11 built into it.
So, given that, I felt that I should try download my own JDK 11 and add this ‘netskope.pem’ root certificate into that, so I’ll share my steps in doing so:
I grabbed jdk-11 from here:
- http://jdk.java.net/java-se-ri/11
I extracted the “openjdk-11+28_windows-x64_bin.zip” file onto my local drive
- E.g. to “C:UsersGurceIDownloadsjdk-11”
Added ‘nscacert.pem’ to jdk-11’s keystore from the command-line, with:
cd c:UsersGurceIDownloadsjdk-11
binkeytool.exe -import -keystore libsecuritycacerts -file c:ProgramDatanetskopestagentdownloadnscacert.pem
(default keystore password = “changeit”)
I then ran the eclipse-installer with an extra argument to point it to my jdk-11 (rather than its internal one):
eclipse-inst-jre-win64.exe -vm "C:UsersGurceIDownloadsjdk-11"
…and then, finally, the installer worked, no more network issues
I experienced something similar today. For me, it related to my company’s internet making use of a security tool called Netskope that intercepts https traffic (yep, companies are sniffing our private traffic too now ;)).
I’ve experienced similar network issues with other tools at work (like python pip installer), and our IT dept advised that we need to install a Netskope root certificate into any tool we use that doesn’t make use of the operating system’s security store (and they use their own).
So, to get a feel for how this issue impacted me in relation to this «eclipse-inst-jre-win64.exe» installer file, I learnt that I could run the installer with an extra argument, to specify my own jvm:
eclipse-inst-jre-win64.exe -vm "C:Program FilesJavajre1.8.0_251"
This got me the following error:
…and that was the clue I needed to realise that this Eclipse installer .exe had JDK 11 built into it.
So, given that, I felt that I should try download my own JDK 11 and add this ‘netskope.pem’ root certificate into that, so I’ll share my steps in doing so:
I grabbed jdk-11 from here:
- http://jdk.java.net/java-se-ri/11
I extracted the “openjdk-11+28_windows-x64_bin.zip” file onto my local drive
- E.g. to “C:UsersGurceIDownloadsjdk-11”
Added ‘nscacert.pem’ to jdk-11’s keystore from the command-line, with:
cd c:UsersGurceIDownloadsjdk-11
binkeytool.exe -import -keystore libsecuritycacerts -file c:ProgramDatanetskopestagentdownloadnscacert.pem
(default keystore password = “changeit”)
I then ran the eclipse-installer with an extra argument to point it to my jdk-11 (rather than its internal one):
eclipse-inst-jre-win64.exe -vm "C:UsersGurceIDownloadsjdk-11"
…and then, finally, the installer worked, no more network issues
I cannot install eclipse on my windows 7 x64 pc, because the installer says
Network Problem — The catalog could not be loaded. Please ensure that
you have network access and, if needed, have configured your network
proxy.
and when i try to install netbeans plugins, I get a message
Networking problem in
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/82_patch2/php/org-netbeans-modules-php-code-analysis.nbmCheck your proxy settings or try again later. The server may be
unavailable at the moment. You may also want to make sure that your
firewall is not blocking network traffic. Your cache may be out of
date. Please click Check for Updates to refresh content.
i think it is same problem.
i try same things on another pc in local network and everything works
asked Mar 7, 2019 at 14:12
beslanabeslana
111 silver badge4 bronze badges
6
In proxy setting select manual and with checked options edit them with your proxy address and port if needded add your pc username and password.It worked for me
answered Aug 1, 2019 at 10:53
0 / 0 / 0 Регистрация: 16.07.2012 Сообщений: 20 |
|
1 |
|
19.07.2012, 16:02. Показов 20342. Ответов 19
Появляется такой текст A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: …eclipsejrebinjavaw.exe javaw.exe in your current PATH Пробовал:
__________________ 0 |
899 / 793 / 186 Регистрация: 21.02.2009 Сообщений: 1,722 |
|
19.07.2012, 17:07 |
2 |
Никита^, вы JDK установили? 0 |
0 / 0 / 0 Регистрация: 16.07.2012 Сообщений: 20 |
|
19.07.2012, 17:46 [ТС] |
3 |
Нет =) 0 |
0 / 0 / 0 Регистрация: 25.12.2012 Сообщений: 35 |
|
07.09.2013, 08:59 |
4 |
так что делать? 0 |
ɐwʎ ɔ vǝmоɔ dиw ɐʚонɔ 443 / 442 / 100 Регистрация: 14.10.2012 Сообщений: 1,146 Записей в блоге: 9 |
|
09.09.2013, 13:02 |
5 |
Алекс090394, не поверите, установить JDK 1 |
Супер-модератор 6108 / 2847 / 1299 Регистрация: 04.03.2013 Сообщений: 5,738 Записей в блоге: 1 |
|
09.09.2013, 14:50 |
6 |
0 |
0 / 0 / 0 Регистрация: 12.09.2013 Сообщений: 8 |
|
16.10.2013, 20:42 |
7 |
у меня JDK и JRE установлены, а такая-же ошибка все равно вылазит 0 |
Супер-модератор 6108 / 2847 / 1299 Регистрация: 04.03.2013 Сообщений: 5,738 Записей в блоге: 1 |
|
16.10.2013, 20:53 |
8 |
попробуйте поправить переменную среды PATH. 0 |
0 / 0 / 0 Регистрация: 12.09.2013 Сообщений: 8 |
|
16.10.2013, 21:20 |
9 |
попробуйте поправить переменную среды PATH. не помогло( 0 |
Супер-модератор 6108 / 2847 / 1299 Регистрация: 04.03.2013 Сообщений: 5,738 Записей в блоге: 1 |
|
16.10.2013, 21:27 |
10 |
не помогло( а то же самое для jre… Добавлено через 4 минуты 0 |
0 / 0 / 0 Регистрация: 12.09.2013 Сообщений: 8 |
|
16.10.2013, 22:22 |
11 |
а то же самое для jre… Добавлено через 4 минуты тоже не помогло( Добавлено через 51 минуту 0 |
2353 / 1771 / 212 Регистрация: 07.01.2011 Сообщений: 10,342 |
|
19.10.2013, 00:06 |
12 |
У брата такое самое. 0 |
4087 / 3821 / 745 Регистрация: 18.05.2010 Сообщений: 9,331 Записей в блоге: 11 |
|
21.10.2013, 22:54 |
13 |
Вот тут вроде все понятно написано — http://wiki.eclipse.org/FAQ_Ho… Eclipse%3F 0 |
KeM6Pug}I{a 49 / 49 / 1 Регистрация: 23.08.2013 Сообщений: 202 |
|
21.10.2013, 23:44 |
14 |
Надо указать переменную JAVA_HOME. Имя переменной: JAVA_HOME 0 |
2353 / 1771 / 212 Регистрация: 07.01.2011 Сообщений: 10,342 |
|
22.10.2013, 00:54 |
15 |
Надо указать переменную JAVA_HOME. где ее найти? Добавлено через 3 минуты
не помогает! 0 |
KeM6Pug}I{a 49 / 49 / 1 Регистрация: 23.08.2013 Сообщений: 202 |
|
22.10.2013, 08:05 |
16 |
Win7 -> Мой Компьютер -> Свойства -> Дополнительные параметры системы -> Переменные среды 0 |
2000 / 1423 / 92 Регистрация: 25.11.2010 Сообщений: 3,611 |
|
22.10.2013, 11:36 |
17 |
Win7 -> Мой Компьютер -> Свойства -> Дополнительные параметры системы -> Переменные среды У меня JAVA_HOME вообще не стоит. Только что поставил Eclipse, запустил, работает. 0 |
Marat123 |
|
22.10.2013, 17:32 |
18 |
Сегодня попал в такую же ситуацию. Покопался в инете… нашёл. |
2 / 2 / 0 Регистрация: 22.10.2013 Сообщений: 13 |
|
23.10.2013, 17:24 |
19 |
0 |
555 / 509 / 25 Регистрация: 23.07.2009 Сообщений: 2,359 Записей в блоге: 1 |
|
23.10.2013, 17:28 |
20 |
start->run->cmd что выползет, должи. 0 |
Привет всем, это мой первый вопрос, поэтому прошу прощения за любые упущенные ожидания.
РЕДАКТИРОВАТЬ 1:
Загрузил Eclipse с: https: // eclipse. org / downloads / download.php? file = / oomph / products / eclipse-inst-win64.exe.
64-битная Windows 8
Директория JDK: C: Program Files Java
/ Редактировать 1
Мне нужно установить IDE Eclipse
для программирования на Java для моего курса информатики, и я уже два дня безуспешно пытаюсь. Я попробовал установить как 64-разрядную, так и 32-разрядную версию, и у меня возникла такая же ошибка. Это очень неприятно, потому что всякий раз, когда я ищу, все люди говорят о «плагинах».
Вот ошибка, которую я получаю при установке:
[2015-09-17 13:30:06] Downloading org.eclipse.rcp_root
[2015-09-17 13:30:34] An error was detected while performing the engine operation and the changes are being rolled back. See the log for details.
[2015-09-17 13:30:34] ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:282)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:523)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:328)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:709)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2971)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2900)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:2881)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:2775)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1151)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.access$27(SimpleVariablePage.java:1030)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$18.run(SimpleVariablePage.java:976)
ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=C__Users_Techies_eclipse_java-latest-released2_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
ERROR: org.eclipse.equinox.p2.engine code=0 Error with signed content.
java.security.SignatureException: An error occurred while processing the signatures for the file: C:UsersTechies.p2poolfeaturesorg.eclipse.wst.xml_core.feature_3.7.0.v201502261749
at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:219)
at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:73)
at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:54)
at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:50)
at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:251)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:101)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:42)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:519)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:328)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:709)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:2971)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:2900)
Это продолжается еще больше, если нужно, опубликую все, но надеюсь, что есть что-то очевидное, что мне не хватает. Я пробовал переустановить JDK
, перезагрузить, повторно загрузить Eclipse
, установить 32-разрядные версии Eclipse
и JDK и 64-разрядные версии для обоих. Я также восстановил систему до того, как начал что-либо из этого, и попытался снова выполнить чистую загрузку и получил ту же ошибку.
5 ответов
Лучший ответ
У меня только что возникла похожая проблема. Запуск установщика от имени администратора решил для меня проблему.
Итак, щелкните правой кнопкой мыши файл установщика (eclipse-inst-win64.exe), а затем выберите Запуск от имени администратора. Теперь просто следуйте подсказкам, и все будет в порядке.
В случае, если это имеет значение, я не обновлял установщик, потому что он перезагружается и, возможно (я не уверен), он не будет перезагружен в режиме администратора.
Кстати, это было на 64-битной машине с Windows 8.1.
Также обратите внимание на эти две темы:
- Как устранить ошибку при чтении подписанного содержимого. ошибка при установке ADT 23.0.2 в Eclipse 4.4 на OSX
- Ошибка при попытке установить плагин
11
Community
23 Май 2017 в 11:47
Столкнулся с похожей проблемой. В моей системе была установлена другая версия. Поэтому нам нужно сначала удалить эту папку .p2, а затем установить ее.
Перейти к C:Users<your name>.p2
И удалите папку .p2
и снова попробуйте ее установить. Это сработало для меня.
0
Muskan Agarwal
28 Июл 2020 в 09:26
Мой товарищ по работе услышал, как я ругался по очень похожей проблеме.
Он попросил меня удалить NetBeans (установленный на всех машинах здесь).
Предыдущие предложения, казалось, приблизили меня, но отказ от NetBeans, похоже, меня разочаровал.
0
World’s Funkiest Man
16 Сен 2019 в 18:29
В моем случае на моем компьютере было две версии eclipse. Чтобы решить эту проблему, я изменил репозиторий пакетов на этапе установки.
Обычно пакет можно найти по следующему пути: C:Users<name>.p2
0
daniel_s
7 Авг 2018 в 12:05
Иногда даже установка с правами администратора в C: / Program Files / может вызывать такие ошибки, как тайм-ауты. Всегда лучше устанавливать в раздел, отличный от диска C (диск без операционной системы).
0
Vijay
18 Янв 2017 в 02:38
каждый раз, когда я пытаюсь открыть Eclipse в Ubuntu 12.04, я получаю неудовлетворенную ошибку ссылки, и она не открывается. Я недавно установил java JDK и Android SDK, может ли это быть проблемой? Я следовал в этом уроке.
вот информация журнала:
!SESSION 2012-04-15 21:05:46.902 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2012-04-15 21:05:47.885
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3740 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk-3740.so
Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Я попытался удалить и переустановить и удалить
12 ответов
на моем Ubuntu 12.04 32 бит. Я редактирую команду:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
и на Ubuntu 12.04 64 бит попробуй:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
решила:
поскольку я установил Oracle Java 7, он изменил Java по умолчанию на Oracle Java 7, однако он должен был быть открытым JDK.
исправить, откройте терминал и введите
sudo update-alternatives --config java
Это вызывает список различных типов Java. Просто выберите открытый JDK.
просто укажите путь к библиотекам:
echo "-Djava.library.path=/usr/lib/jni/" >> /etc/eclipse.ini
в моем случае я пропустил
Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk-3740.so Can't load library: /home/tom/.swt/lib/linux/x86_64/libswt-gtk.so
похоже, что библиотеки должны быть .swt / lib / linux/x86_64/ если их там нет, вы можете
попробуйте следующую команду:
locate libswt-gtk.so
это должно найти библиотеки, скопируйте весь каталог в /home/tom/.swt/lib/linux / x86_64
Я согласен со Скоттом, то, что он перечислил, сработало. Однако просто запустить его из любого каталога не работает. Мне пришлось cd в / home/*/.swt/lib/linux/ x86_64 / 0 файлы
сначала каталог, а затем выполните команду link:
для 32-разрядной:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
и на Ubuntu 12.04 64 бита:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
Если вы запустите eclipse с помощью oracle java, то eclipse может не найти собственные библиотеки, такие как библиотеки SWT или SVN. Библиотеки SWT-JNI расположены в /usr/lib/jni/, а библиотеки SVN-JNI-в /usr/lib/x86_64-linux-gnu/jni/.
вместо запуска eclipse с командой
eclipse
вы можете использовать команду
env LD_LIBRARY_PATH=/usr/lib/jni/:/usr/lib/x86_64-linux-gnu/jni/:$LD_LIBRARY_PATH eclipse
для передачи переменной среды LD_LIBRARY_PATH в eclipse. Eclipse найдет родные библиотеки и будет работать правильно.
на redhat7 :
yum install gtk2 libXtst xorg-x11-fonts-Type1
сделал работу из-за зависимости swt.
нашел здесь
убедитесь, что ваш домашний раздел установлен с исполняемыми разрешениями. Это значение по умолчанию, но если вы установите его без опции exec, вы получите эту ошибку.
Я столкнулся с этой ошибкой при попытке запустить 32-битную сборку Eclipse под 64-битным linux. Проблема была решена после установки пакета ia32-libs.
возможно, более общий метод:
- установить безголовую версию openjdk,
- установить, запустить и закрыть eclipse.
- удалите openjdk
- установите JDK oracle
Go to eclipse
r/eclipse
r/eclipse
A subreddit dedicated to Eclipse IDE, and its SWT/RCP platform. Here you can discuss, get the latests news, find tips & tricks, ask for help, etc.
Members
Online
•
by
[deleted]
installing eclipse
im having trouble installing eclipse
when ever i open up the installer i always get the error message «The catalog could not be loaded. please ensure that you have network access and,m if needed, have configured your network proxy»
any help would be much appreciated
Problem Description:
I’m trying to install a newer version of Eclipse. The Oomph Eclipse installer keeps giving me the following error:
I’m definitely connected to the network – and I’ve done everything I can think of with Configure Network Proxy Settings. I still get the error every time.
Any suggestions?
Thanks!
Solution – 1
I experienced something similar today. For me, it related to my company’s internet making use of a security tool called Netskope that intercepts https traffic (yep, companies are sniffing our private traffic too now ;)).
I’ve experienced similar network issues with other tools at work (like python pip installer), and our IT dept advised that we need to install a Netskope root certificate into any tool we use that doesn’t make use of the operating system’s security store (and they use their own).
So, to get a feel for how this issue impacted me in relation to this «eclipse-inst-jre-win64.exe» installer file, I learnt that I could run the installer with an extra argument, to specify my own jvm:
eclipse-inst-jre-win64.exe -vm "C:Program FilesJavajre1.8.0_251"
This got me the following error:
…and that was the clue I needed to realise that this Eclipse installer .exe had JDK 11 built into it.
So, given that, I felt that I should try download my own JDK 11 and add this ‘netskope.pem’ root certificate into that, so I’ll share my steps in doing so:
I grabbed jdk-11 from here:
- http://jdk.java.net/java-se-ri/11
I extracted the “openjdk-11+28_windows-x64_bin.zip” file onto my local drive
- E.g. to “C:UsersGurceIDownloadsjdk-11”
Added ‘nscacert.pem’ to jdk-11’s keystore from the command-line, with:
cd c:UsersGurceIDownloadsjdk-11
binkeytool.exe -import -keystore libsecuritycacerts -file c:ProgramDatanetskopestagentdownloadnscacert.pem
(default keystore password = “changeit”)
I then ran the eclipse-installer with an extra argument to point it to my jdk-11 (rather than its internal one):
eclipse-inst-jre-win64.exe -vm "C:UsersGurceIDownloadsjdk-11"
…and then, finally, the installer worked, no more network issues 🙂
Solution – 2
I was on linux mint, so I clicked on change the proxy settings and only changed to manual and it worked.
Solution – 3
change «native» to «manual» and then you configurate your http and https proxy parameters, it works to me! (Windows)
Solution – 4
I got the same error with «The catalog could not be loaded. Please ensure that you have network access… on my Windows 10 laptop.
I know the installer works since I was able to install Eclipse on another system. I went to eclipse.org, then to More, Eclipse IDE Download, then choose
«Get Eclipse», then click on Download Packages. Choose your OS. In my case, I chose Eclipse IDE for Java Developers, Windows x86_64. This will start downloading the eclipse install .zip file.
Once unzipped, I was able to install by launching the .exe.
Hope this helps.
Solution – 5
The issue here is eclipse installer is using its own jdk for installation which is present under eclipse-inst.ini
. The installation details can be found after -vm
line.
If your organisation mandated to use their own root certificate then you have to first add root certificate’s entry into your JDK & then modify eclipse-inst.ini
to point to your installed JDK.
So to fix this issue, you can either refer @Gurce’s great answer or you can do following: :
- Download certificate & add root entry to following (Mac command) :
sudo keytool -importcert -file "/Users/<User Account Folder Name>/Documents/cert.pem" -alias anyalias -keystore "/Library/Java/JavaVirtualMachines/<JAVA Version Folder Name>/Contents/Home/jre/lib/security/cacerts" -storepass changeit
- Once added you can verify if entries gets added or not by using following command:
keytool -list -v -keystore cacerts
-
After this, download eclipse installer & find
eclipse-inst.ini
file. -
Open that file in text editor mode & find line which is present after
-vm
-
Remove that jdk version & use your own installed jdk which has your organisation’s root cert. So modified ini file will look like , (other file details omitted) :
... -vm /Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk -vmargs ..
If its not required to add root certificate into JDKs cacerts
, then you can directly follow point 3 , use your own installed JDK in ini
file & see if it works.
Solution – 6
Here I treid everything but at the end this error can be sorted by
- uninstall the java JRE
- Uninstall the java JDK
Then again install the eclipse
After that you can again install java JDK and JRE
Issue
I’m trying to install a newer version of Eclipse. The Oomph Eclipse installer keeps giving me the following error:
alt=»enter image description here» />
I’m definitely connected to the network — and I’ve done everything I can think of with Configure Network Proxy Settings. I still get the error every time.
Any suggestions?
Thanks!
Solution
I got the same error with «The catalog could not be loaded. Please ensure that you have network access… on my Windows 10 laptop.
I know the installer works since I was able to install Eclipse on another system. I went to eclipse.org, then to More, Eclipse IDE Download, then choose
«Get Eclipse», then click on Download Packages. Choose your OS. In my case, I chose Eclipse IDE for Java Developers, Windows x86_64. This will start downloading the eclipse install .zip file.
Once unzipped, I was able to install by launching the .exe.
Hope this helps.
Answered By — jptang4
Answer Checked By — Candace Johnson (JavaFixing Volunteer)