Home » Newcomers » Newcomers » How does Eclipse load /usr/lib64/IcedTeaPlugin.so ?
| |
Re: How does Eclipse load /usr/lib64/IcedTeaPlugin.so ? [message #1226434 is a reply to message #1226114] |
Wed, 01 January 2014 19:53 |
B C Messages: 4 Registered: December 2013 |
Junior Member |
|
|
Thanks,
My configuration appears to be correct as illustrated by the process listing:
sysop 20905 0.0 5.5 4812064 446048 pts/2 Sl+ 19:35 0:24 /home/sysop/jdk1.7.0_45/bin/java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/sysop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -os linux -ws gtk -arch x86_64 -showsplash /home/sysop/eclipse//plugins/org.eclipse.platform_4.3.1.v20130911-1000/splash.bmp -launcher /home/sysop/eclipse/eclipse -name Eclipse --launcher.library /home/sysop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130807-1835/eclipse_1506.so -startup /home/sysop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar --launcher.appendVmargs -exitdata 3b10009 -product org.eclipse.epp.package.java.product -vm /home/sysop/jdk1.7.0_45/bin/java -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/sysop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
sysop 21047 0.0 0.0 10520 924 pts/3 S+ 19:37 0:00 grep --color=auto eclipse
This is further corroborated doing an lsof -p 20905.
Also, once Kepler loads, going to Window -> Preferences -> Java -> Installed JREs, the only JRE I see is /home/sysop/jdk1.7.0_45 .
However, it appears that Eclipse is loading the sytem's supported web plugins as also illustrated by the lsof:
java 20905 sysop mem REG 8,3 19233136 1982416 /usr/lib64/browser-plugins/libflashplayer.so
java 20905 sysop mem REG 8,3 62840 1982152 /usr/lib64/libbz2.so.1.0.6
java 20905 sysop mem REG 8,3 18816 1594402 /lib64/libattr.so.1.1.0
java 20905 sysop mem REG 8,3 671000 1982386 /usr/lib64/libarchive.so.13.1.2
java 20905 sysop mem REG 8,3 399232 1982238 /usr/lib64/libpackagekit-glib2.so.16.0.6
java 20905 sysop mem REG 8,3 44288 1984226 /usr/lib64/browser-plugins/packagekit-plugin.so
java 20905 sysop mem REG 8,3 204280 1982165 /usr/lib64/IcedTeaPlugin.so
java 20905 sysop mem REG 8,3 86352 1985841 /usr/lib64/browser-plugins/libtotem-narrowspace-plugin.so
java 20905 sysop mem REG 8,3 77632 1985840 /usr/lib64/browser-plugins/libtotem-mully-plugin.so
java 20905 sysop mem REG 8,3 22976 1984616 /usr/lib64/libtotem-plparser-mini.so.18.0.0
java 20905 sysop mem REG 8,3 115504 1985867 /usr/lib64/browser-plugins/libtotem-gmp-plugin.so
java 20905 sysop mem REG 8,3 346160 1980192 /usr/lib64/libhunspell-1.3.so.0.0.0
So not exactly sure what I am looking at here. I have tried configuring within eclipse an external web browser thinking these may be being pulled in by the inbuilt browser functionality (?) but did not see any difference.
For completeness:
Java Versions:
sysop@eris:~> which java
/usr/bin/java
sysop@fatima:~> java -version
java version "1.7.0_45"
OpenJDK Runtime Environment (IcedTea 2.4.3) (suse-24.9.1-x86_64)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
sysop@eris:~> /home/sysop/jdk1.7.0_45/bin/java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
sysop@eris:~> /home/sysop/jdk1.7.0_45/jre/bin/java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
eclipse.ini:
-vm
/home/sysop/jdk1.7.0_45/bin/java
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
Note: switching between /home/sysop/jdk1.7.0_45/bin/java and /home/sysop/jdk1.7.0_45/jre/bin/java does not change any of the observed behaviour.
Thanks
|
|
|
Re: How does Eclipse load /usr/lib64/IcedTeaPlugin.so ? [message #1226497 is a reply to message #1226434] |
Wed, 01 January 2014 23:29 |
B C Messages: 4 Registered: December 2013 |
Junior Member |
|
|
OK, so definitely IcedTea is being pulled in as a web plugin. Any help tracking where this is from and changing this behaviour (without system wide modifications) appreciated. The following eclipse strace snippet shows the modules being read. However as much as I like to google around, the likes of 'web', 'plugins', etc do not make spectacularly good keywords in this context.
21784 uname({sys="Linux", node="eris.vegetables.local", ...}) = 0
21784 openat(AT_FDCWD, "/home/sysop/.mozilla/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
21784 openat(AT_FDCWD, "/home/sysop/.netscape/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
21784 openat(AT_FDCWD, "/usr/lib/browser/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
21784 openat(AT_FDCWD, "/usr/local/lib/mozilla/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
21784 openat(AT_FDCWD, "/usr/lib/firefox/plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
21784 openat(AT_FDCWD, "/usr/lib64/browser-plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 127
21784 getdents(127, /* 9 entries */, 32768) = 368
21784 getdents(127, /* 0 entries */, 32768) = 0
21784 close(127) = 0
21784 access("/usr/lib64/browser-plugins/packagekit-plugin.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/libflashplayer.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/libtotem-mully-plugin.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/libtotem-gmp-plugin.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/javaplugin.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/libtotem-cone-plugin.so", F_OK) = 0
21784 access("/usr/lib64/browser-plugins/libtotem-narrowspace-plugin.so", F_OK) = 0
21784 openat(AT_FDCWD, "/usr/lib/browser-plugins", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 127
.
.
.
21784 close(127) = 0
21784 stat("/usr/lib64/browser-plugins/javaplugin.so", {st_mode=S_IFREG|0755, st_size=204280, ...}) = 0
21784 lstat("/usr/lib64/browser-plugins/javaplugin.so", {st_mode=S_IFLNK|0777, st_size=28, ...}) = 0
21784 readlink("/usr/lib64/browser-plugins/javaplugin.so", "/etc/alternatives/javaplugin", 256) = 28
21784 lstat("/etc/alternatives/javaplugin", {st_mode=S_IFLNK|0777, st_size=27, ...}) = 0
21784 readlink("/etc/alternatives/javaplugin", "/usr/lib64/IcedTeaPlugin.so", 256) = 27
21784 lstat("/usr/lib64/IcedTeaPlugin.so", {st_mode=S_IFREG|0755, st_size=204280, ...}) = 0
21784 stat("/usr/lib64/IcedTeaPlugin.so", {st_mode=S_IFREG|0755, st_size=204280, ...}) = 0
21784 open("/usr/lib64/IcedTeaPlugin.so", O_RDONLY|O_CLOEXEC) = 127
|
|
| |
Goto Forum:
Current Time: Wed Apr 24 15:01:36 GMT 2024
Powered by FUDForum. Page generated in 0.07797 seconds
|