PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Suse 9.0 + eclipse + classpath


Zielscheibe
2004-01-29, 19:45:13
Versuche Eclipse zu starten aber er bricht immer
mit:

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:
/opt/eclipse/./jre/bin/java
'java' in your current PATH

ab. Hab per Yast2 die SDK installiert.
Unter /usr/lib/SunJava2-1.4/jre/bin hab ich datei java und unter/usr/lib/SunJava2-1.4/bin auch

hab versucht mit
export CLASSPATH=/usr/lib/SunJava2-1.4/jre/bin: und
export CLASSPATH=/usr/lib/SunJava2-1.4/bin:
den Path neu zu setzen aber es funktioniert einfach net!
Was mache ich falsch ?

Harleckin
2004-01-30, 07:23:06
'export PATH=$PATH:/usr/lib/SunJava2-1.4/bin'

Zielscheibe
2004-01-30, 14:46:24
Noch 2 Fragen:
Ist das ne Eiegenheit von SUSE, dass PATH
anstatt CLASSPATH verwendet wird ?

Die ' ' sind aber net für die Bash ?
Geht nämlich nur ohne die Hockkomma.

Das Problem wäre damit gelöst aber nur kommt immer ein
Hinweis Fenster mit folgendem Fehler:
"completing the installation - please wait"

und auf der shell:


org.eclipse.swt.SWTException: Unsupported or unrecognized format
at org.eclipse.swt.SWT.error(SWT.java:2330)
at org.eclipse.swt.SWT.error(SWT.java:2260)
at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:73)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:124)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:311)
at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDe scriptor.java:51)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescripto r.java:118)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescripto r.java:94)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescripto r.java:83)
at org.eclipse.jface.action.ActionContributionItem$ImageCache.getImage(A ctionContributionItem.java:117)
at org.eclipse.jface.action.ActionContributionItem.updateImages(ActionCo ntributionItem.java:719)
at org.eclipse.jface.action.ActionContributionItem.update(ActionContribu tionItem.java:596)
at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributi onItem.java:302)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:555)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:456)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:209)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:555)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:456)
at org.eclipse.jface.action.MenuManager.createMenuBar(MenuManager.java:1 46)
at org.eclipse.jface.window.ApplicationWindow.configureShell(Application Window.java:244)
at org.eclipse.ui.internal.WorkbenchWindow.configureShell(WorkbenchWindo w.java:578)
at org.eclipse.jface.window.Window.createShell(Window.java:350)
at org.eclipse.jface.window.Window.create(Window.java:301)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java: 1068)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:874)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa der.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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)