sk2 / ank_legacy_v2

Legacy edition of autonetkit. Please see https://github.com/sk2/autonetkit for latest version
www.autonetkit.org
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

yED and Ubuntu 12.04 #250

Open medim opened 12 years ago

medim commented 12 years ago

Hi, Sorry, I now that this one has nothing to do with ANK, but after upgrading to the new ubuntu, yED cannot be installed on my machine,

1) When running it with sh via terminal it says: "Starting Installer ... Could not display the GUI. This application needs access to an X Server."

2) and with chmod +x and running it in GUI, it doesn't give any log or message, just nothing happens, and I cannot understand what is the problem.

Have you had the same experience before ? cheers,

sk2 commented 12 years ago

Hi, sorry, I haven't tried it on the new ubuntu. Does this link help at all? http://yed.yworks.com/support/qa/17 If so I'll add it into the help documentation also. Cheers Simon

kayapo commented 12 years ago

Hi! I try it on the new ubuntu. I use gnome-shell, my java version:

java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

My installation method: bash -x yEd-3.9.1_setup.sh

Your link don't help me

medim commented 12 years ago

Dear simon, Thanks for ur concern and guidance. However, it seems the solution works for earlier versions of ubuntu. The problem here is the default OpenJDK, which seems impossible to be removed or replaced compeletly with sun's official version (which is required for yED) !!!! I emailed yED guys, but have got no news yet ! Cheers, Mehdi

medim commented 12 years ago

Dear Kayapo, I was wondering, if u let me know how did u manage to install sun official version and got rid of OpenJDK ? Thanks Mehdi

kayapo commented 12 years ago

I use normaly installation methon with my ubuntu install: aptitude install sun-java6-jdpk. My installed and java related packages:

ii ca-certificates-java 20110912ubuntu6 Common CA certificates (JKS keystore) ii gir1.2-javascriptcoregtk-3.0 1.8.0-0ubuntu2 GObject introspection data for the GTK+-based JavaScriptCore library ii java-common 0.43ubuntu2 Base of all Java packages ii java-package 0.42ubuntu1 utility for building Java(TM) 2 related Debian packages ii libatk-wrapper-java 0.30.4-0ubuntu2 An ATK implementation for Java using JNI ii libatk-wrapper-java-jni 0.30.4-0ubuntu2 An ATK implementation for Java using JNI (jni bindings) ii libjavascriptcoregtk-1.0-0 1.8.0-0ubuntu2 Javascript engine library for GTK+ ii libjavascriptcoregtk-3.0-0 1.8.0-0ubuntu2 Javascript engine library for GTK+ ii libjaxp1.3-java 1.3.05-2ubuntu2 Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX) ii libxerces2-java 2.11.0-4 Validating XML parser for Java with DOM level 3 support ii libxml-commons-external-java 1.4.01-2 XML Commons external code - DOM, SAX, and JAXP, etc ii libxml-commons-resolver1.1-java 1.2-7 XML entity and URI resolver library ii plasma-scriptengine-javascript 4:4.8.2-0ubuntu2 JavaScript script engine for Plasma ii sun-java6-bin 6.26-1natty1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) ii sun-java6-jdk 6.26-1natty1 Sun Java(TM) Development Kit (JDK) 6 ii sun-java6-jre 6.26-1natty1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files) ii tzdata-java 2012b-1 time zone and daylight-saving time data for use by java runtimes

medim commented 12 years ago

Guys,

I found the solution to my problem (installing SUN JRE instead of openJDK on ubuntu 12.04): http://ubuntuforums.org/showthread.php?p=11889700 http://rootzwiki.com/topic/23008-howto-install-java-7-on-ubuntu-1204/

Cheers

sk2 commented 12 years ago

Cool - thanks for that. We can discuss on the Skype call next week how to let you guys fork the project to update the documentation. Adding in this stuff for Linux would be really handy for other users. Thanks again