Ubuntu Pastebin

Paste from shine at Sun, 15 Oct 2017 03:21:40 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
#
# Ubuntu 16.04
# Eclipse 4.7 EE ( Oxygen )
#
# Statement of the problem :
#
# Eclipse does, in fact, launch from the terminal when " eclipse " is typed and enter is pressed
# ( see end of this document for additional details and sudpicions about the problem ).
#
# The launcher icon does show up in desktop search and I can place it in the launcher. I just doesn't do
# anything but flash for a few second when clicked ( program never launches ) when clicked from the icon
# on the launcher, and gives no recognizable response when clicked from the desktop search.



# Show that eclipse eclipse 4.7 ( Oxygen ) package has been decompressed ...

	~$ ls -al /opt/eclipse/eclipse-4.7-jee
	total 660
	drwxr-xr-x   8 shine shine   4096 Oct 13 20:58 .
	drwx------   3 shine shine   4096 Oct 13 19:39 ..
	-rw-r--r--   1 shine shine 296476 Oct  9 17:40 artifacts.xml
	drwxr-xr-x   7 shine shine   4096 Oct 13 20:58 configuration
	drwxr-xr-x   2 shine shine   4096 Oct  9 17:40 dropins
	-rwxr-xr-x   1 shine shine  71473 Oct  9 03:00 eclipse
	-rw-r--r--   1 shine shine    585 Oct  9 17:40 eclipse.ini
	-rw-r--r--   1 shine shine     60 Jul  5 04:46 .eclipseproduct
	drwxr-xr-x 178 shine shine  20480 Oct  9 17:40 features
	-rwxr-xr-x   1 shine shine 140566 Oct  9 03:00 icon.xpm
	drwxr-xr-x   4 shine shine   4096 Oct 13 20:58 p2
	drwxr-xr-x  21 shine shine 102400 Oct  9 17:40 plugins
	drwxr-xr-x   2 shine shine   4096 Oct  9 17:40 readme


# Is soft linked to the executable to get eclipse to launch from the command line...

	~$ ls -al /bin | grep eclipse
	lrwxrwxrwx  1 root root      36 Oct 13 20:54 eclipse -> /opt/eclipse/eclipse-4.7-jee/eclipse

# Perms are right ( ?? ) ...

	~$ ls -al /opt/eclipse/eclipse-4.7-jee | grep "eclipse"
	-rwxr-xr-x   1 shine shine  71473 Oct  9 03:00 eclipse
	-rw-r--r--   1 shine shine    585 Oct  9 17:40 eclipse.ini
	-rw-r--r--   1 shine shine     60 Jul  5 04:46 .eclipseproduct

# A desktop file has been created in /usr/share/applications/

	~$ ls -al /usr/share/applications | grep eclipse
	-rw-r--r--   1 root root   357 Oct 13 20:59 eclipse.desktop

# This is the content of the desktop file ...

	[Desktop Entry]
	Version=4.7
	Name=Eclipse
	GenericName=IDE
	Comment=Integrated Development Environment
	Keywords=Eclipse; eclipse; IDE; Ide; ide; Integrated; Development; Environment; integrated; development;
	environment; Programming; programming; Development; development
	Exec=eclipse
	Icon=/opt/eclipse/eclipse-4.7-jee/icon.xpm
	Terminal=false
	Type=Application
	/usr/share/applications/eclipse.desktop (END)

#
# Eclipse does, in fact, launch from the terminal when " eclipse " is typed and enter is pressed.
#
#	~$ eclipse
#	org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before
#	the state location was initialized.  Will retry after the state location is initialized.
#
#	...
#
# The launcher icon does show up in desktop search and I can place it in the launcher. I just doesn't do
# anything but flash for a few second when clicked ( program never launches ) when clicked from the icon
# on the launcher, and gives no recognizable response when clicked from the desktop search.
#
# Suspect :
#
# The " Exec= " line in the eclipse.desktop file needs to end with " %U " ? <-- I've seen this in some
# of the other desktop files but don't know why / what it does.
#
# There is a permissions problem somewhere? But elcipse launches from the terminal just fine. Launching
# it graphically from the icon does not work.
#
# I found this article from a few years ago ...
#
# https://askubuntu.com/questions/418407/how-do-i-create-a-desktop-file-to-launch-eclipse
#
# Is ^ that article even applicable to my system / version / version of eclipse ?
#
# It talks about the .ini file ( which perms are not executable in mine ). But I thought the .ini file was
# for windoze, not linux ?
#
# And eclipse seems to work fine when executed from the command line ...
#
# --> What am I doing wrong / missing here ? How do I fix this problem?
#
# Thanks so very much for your help.
Download as text