Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error: Could not find org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar(Trying to install Eclipse on an offline PC)
Error: Could not find org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar [message #1722022] Tue, 02 February 2016 10:15 Go to next message
Simon Baker is currently offline Simon BakerFriend
Messages: 1
Registered: February 2016
Junior Member

Having successfully installed Eclipse using the installer on my internet-connected PC I'd like also install it onto my offline PC.

The installer does not work - it says it needs network access.

So I copied the Eclipse folder from the connected PC to the corresponding location (same path) on the offline PC.

I copied the .p2 folder from the connected PC to a location (different path as path does not exist there) on the offline PC.

I changed the path references in eclipse.ini, config.ini, artifacts.xml and platform.xml. A search shows there to be no more references to the path of the .p2 folder.

Still, when I try to start Eclipse, I get an error. The log file says:

!MESSAGE Could not find extension: reference:file:org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar

This file is referenced in config.ini (no path is specified on that particular line). The file does exist (in ../.p2/pool).

Might the path be 'hardcoded' within an executable file? Or is there something I'm missing.

The only thing I can think to try is to set up the same path for the .p2 folder on the offline PC. And change all those references back.

Many thanks.
Re: Error: Could not find org.eclipse.osgi.compatibility.state_1.0.100.v20150402-1551.jar [message #1722073 is a reply to message #1722022] Tue, 02 February 2016 16:05 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
You're better off just downloading one of the Eclipse packages and using that to install (it's just unzipping/extracting into a location of your choosing), rather than trying to hack together something from the installer on a different machine.
Previous Topic:open file read only
Next Topic:error logged from ant ui
Goto Forum:

Current Time: Mon Sep 23 11:29:10 GMT 2019

Powered by FUDForum. Page generated in 0.03163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top