Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblems during startup. Check the ".log" file in the ".metadata" directory of y
https://www.eclipse.org/forums/index.php/mv/msg/59350/187705/#msg_187705
I just unziped the eclipse 2.1.2 into my /opt directory and tried to sta=
rt =
eclipse. I always get the error message "Problems during startup. Check =
the ".log" file in the ".metadata" directory of your workspace.". But I =
don't have a directory "workspace"!.
What could be wrong here? Has anybody a clue?
thanks and kind regards
Fredy]]>Fredy2004-01-31T09:42:06-00:00Re: Problems during startup. Check the ".log" file in the ".metadata" directory
https://www.eclipse.org/forums/index.php/mv/msg/59350/187765/#msg_187765
fredy.k@gmx.net>=
=
wrote:
> Hy,
> I just unziped the eclipse 2.1.2 into my /opt directory and tried to =
> start eclipse. I always get the error message "Problems during startup=
.. =
> Check the ".log" file in the ".metadata" directory of your workspace."=
.. =
> But I don't have a directory "workspace"!.
> What could be wrong here? Has anybody a clue?
>
> thanks and kind regards
>
> Fredy
The following printout may be a help of experts:
------------------------------------------------------------ ------------=
---------------------
An exception occurred while writing to the platform log:
java.io.FileNotFoundException: /opt/eclipse/workspace/.metadata/.log (No=
=
such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.eclipse.core.launcher.Main.openLogFile(Main.java:1400)
at org.eclipse.core.launcher.Main.log(Main.java:1261)
at org.eclipse.core.launcher.Main.main(Main.java:587)
Logging to the console instead.
!ENTRY org.eclipse.core.launcher 4 0 Jan 31, 2004 15:01:09.710
!MESSAGE Exception launching the Eclipse Platform:
An exception occurred while writing to the platform log:
java.io.FileNotFoundException: /opt/eclipse/workspace/.metadata/.log (No=
=
such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.eclipse.core.launcher.Main.openLogFile(Main.java:1400)
at org.eclipse.core.launcher.Main.log(Main.java:1261)
at org.eclipse.core.launcher.Main.main(Main.java:588)
Logging to the console instead.
!STACK
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.jav=
a:39)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessor=
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.jav=
a:39)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessor=
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at =
org.eclipse.core.internal.boot.InternalBootLoader.startup(In ternalBootLo=
ader.java:1040)
at =
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader=
..java:838)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: org.eclipse.core.runtime.CoreException: The platform metadata=
=
area could not be written: /opt/eclipse/workspace/.metadata. By default=
=
the platform writes its content
under the current working directory when the platform is launched. Use =
the -data parameter to
specify a different content area for the platform.
at =
org.eclipse.core.internal.runtime.PlatformMetaArea.createLoc ation(Platfo=
rmMetaArea.java:73)
at =
org.eclipse.core.internal.runtime.InternalPlatform.setupMeta Area(Interna=
lPlatform.java:1053)
at =
org.eclipse.core.internal.runtime.InternalPlatform.loaderSta rtup(Interna=
lPlatform.java:679)
... 14 more
------------------------------------------------------------ ------------=
---------------------------------------------------]]>Fredy2004-01-31T14:04:59-00:00Re: Problems during startup. Check the ".log" file in the ".metadata" directory
https://www.eclipse.org/forums/index.php/mv/msg/59350/188420/#msg_188420
> On Sat, 31 Jan 2004 10:42:06 +0100, Fredy Klammsteiner <fredy.k@gmx.net>
> wrote:
>
>> Hy,
>> I just unziped the eclipse 2.1.2 into my /opt directory and tried to
>> start eclipse. I always get the error message "Problems during
>> startup.. Check the ".log" file in the ".metadata" directory of your
>> workspace.".. But I don't have a directory "workspace"!.
>> What could be wrong here? Has anybody a clue?
>>
>> thanks and kind regards
>>
>> Fredy
>
>
> The following printout may be a help of experts:
> ------------------------------------------------------------ ---------------------------------
> ...
> Caused by: org.eclipse.core.runtime.CoreException: The platform metadata
> area could not be written: /opt/eclipse/workspace/.metadata. By default
> the platform writes its content
> under the current working directory when the platform is launched. Use
> the -data parameter to
> specify a different content area for the platform.
So you're running Eclipse with a user ID that doesn't have write
permission to the /opt/eclipse/ directory. You have to run it using the
-data parameter to specify a directory where your user ID does have
permission to create files; say /home/userID/:
/opt/eclipse/eclipse -data /home/userID
(where userID represents your current user ID).
Dan]]>Dan Scott2004-02-02T19:49:24-00:00Re: Problems during startup. Check the ".log" file in the ".metadata" directory
https://www.eclipse.org/forums/index.php/mv/msg/59350/1801650/#msg_1801650
However, it runs fine with another Win10 PC.
Managed to trace and capture some message as following:
I have both of my machine setup as same login ID, Chan Chan
Fail machine I get the following:
java.lang.reflect.InvocationTargetException: org.eclipse.core.runtime.CoreException: The platform metadata area could not be written: C:\Users\Chan\.metadata. By default the platform writes its content
On the good machine, it seem the different is on the directory it try to
C:\Users\CHANCH~1\.metadata.
I tried to create another ID on the failed machine, ChanChan (without space in between), and it runs without error. I am not sure where the problem come from?]]>cs Ho2019-01-24T06:49:37-00:00