语言

Menu
Sites
Language
I can't run the tizen's install manager under ubuntu (watch the error log please)

Hello,

I'm trying to install the tizen IDE under Ubuntu 12.10, 64 bits, after downloading the .bin from the page download (http://download.tizen.org/sdk/InstallManager/tizen-sdk-2.1/tizen-sdk-ubuntu64-v2.1.4.bin) and give the permission to the file (sudo chmod +x tizen-sdk-ubuntu64-v2.1.4.bin), i want to run the file by the commande (./tizen-sdk-ubuntu64-v2.1.4.bin), but i have the following error. Anyone knows why? Thank you...

zitagu@zitagu-VirtualBox:~/Downloads$ ./tizen-sdk-ubuntu64-v2.1.4.bin
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display
    at org.eclipse.swt.widgets.Widget.isValidSubclass(Unknown Source)
    at org.eclipse.swt.widgets.Decorations.checkSubclass(Unknown Source)
    at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
    at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
    at org.eclipse.jface.window.Window.createShell(Window.java:487)
    at org.eclipse.jface.window.Window.create(Window.java:430)
    at org.eclipse.jface.window.Window.open(Window.java:790)
    at org.tizen.installmanager.ui.InstallManagerWindow.main(InstallManagerWindow.java:857)
    ... 5 more

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

7 回复
praveen kumar talari
hi have you installed all the prerequisites?? see the below link for prerequisites for installing tizen https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk
GU
Yes, i've followed the step in the page one by one...
GU
I haven't done the part of "To use the Tizen Emulator, you need the following", is it important?
Lakshmi Grandhi
Hi, Can you please check whether "oracle-java6-installer" package is installed properly and PATH environment variable is to java path
GU
I've checked, it is installed properly and PATH environment variable is to java path :( zitagu@zitagu-VirtualBox:~/Downloads$ ls -l /usr/bin/java lrwxrwxrwx 1 root root 22 Mar 14 11:29 /usr/bin/java -> /etc/alternatives/java zitagu@zitagu-VirtualBox:~/Downloads$ java -version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode) zitagu@zitagu-VirtualBox:~/Downloads$ env | grep PATH XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path COMPIZ_BIN_PATH=/usr/bin/ zitagu@zitagu-VirtualBox:~/Downloads$
Ganesh Kumar R
Am also getting same Error while running "./tizen-sdk-ubuntu64-v2.2.32.bin " on my Ubuntu 12.4 PC. I have done all the prerequisites & installed oracle-java6-installer / oracle-java7-installer. Kindly help me to resolve this error.
GU
Hi, Finally, I've resolved the problem with the solution re-install JDK7 from the site oracle. Actually, I've already installed JDK 6 before tizen, but i think that it was not installed correctly, si I've un-installed JDK6 and installed JDK7. After that operation, I've got never this kind of error. I'm not sure that is the cause of error but try it! Good luck! Ying