Java plugin?

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Java plugin?

Post by laprjns »

Ok, I'm going to get this thread back on topic. :) Icedtea-web seems to interfer with openjre here. Nixnote requires jre (or jdk) and when i just have openjre installed:

Code: Select all

root[rich]# slapt-get --se jre 
openjre-7u40-x86_64-1dj [inst=yes]: Java(TM) 2 Platform Standard Edition Runtime Environment.
root[rich]# 
nixnote starts and runs without problems, but of course java doesn't work in Firefox. So I install icetea-web from the repo:

Code: Select all

root[rich]# slapt-get -i icedtea-web
Reading Package Lists...Done
The following NEW packages will be installed:
  icedtea-web 
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 0.0kB/966.0kB of archives.
After unpacking 3.8MB of additional disk space will be used.

Preparing to install icedtea-web-1.4-x86_64-2dj
Installing package icedtea-web-1.4-x86_64-2dj...
| icedtea-web (Java Web Start browser plugin)
| 
| The IcedTea-Web project provides a Free Software web browser plugin
| running applets written in the Java programming language and
| an implementation of Java Web Start, originally based on the
| NetX project.
| 
| HomePage: http://icedtea.classpath.org/wiki/IcedTea-Web
| 
| 
| 
| 
| 
Done
root[rich]# 
and nixnote no longer runs. Typing nixnote into a terminal I see the Icedtea Web splash box flashes on and i get the following error in the terminal:

Code: Select all

rich[~]$ nixnote
java.io.FileNotFoundException: /home/rich/.icedtea/deployment.properties (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:143)
	at java.io.FileReader.<init>(FileReader.java:72)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:604)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:424)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:236)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:205)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:194)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:181)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:172)
java.io.EOFException
	at java.io.DataInputStream.readInt(DataInputStream.java:392)
	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:645)
	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
	at java.security.KeyStore.load(KeyStore.java:1214)
	at net.sourceforge.jnlp.security.KeyStores.createKeyStoreFromFile(KeyStores.java:384)
	at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:139)
	at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:118)
	at net.sourceforge.jnlp.security.KeyStores.getCAKeyStores(KeyStores.java:206)
	at net.sourceforge.jnlp.security.VariableX509TrustManager.<init>(VariableX509TrustManager.java:121)
	at net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:439)
	at net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7.<init>(VariableX509TrustManagerJDK7.java:53)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.getSSLSocketTrustManager(JNLPRuntime.java:319)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:256)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:181)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:172)
netx: Invalid jnlp file --name=
/home/rich
And java doesn't seem to work in Firefox either
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Java plugin?

Post by laprjns »

Everything works if I install openjdk and icedtea. Something must be wrong with openjre
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Java plugin?

Post by djemos »

openjre and openjdk are running fine here on firefox in a real 32bit installation.
For midori: seamonkey-solibs is a dep for openjre, openjdk to run on midori.
I installed seamonkey-solibs. Then java (openjre, openjdk) and applets run fine on midori also.
I installed also nixnote and is running.

Please do more tests for openjre and openjdk on midori and firefox.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Java plugin?

Post by gapan »

nixnote works fine with openjre here on x86_64.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Java plugin?

Post by mimosa »

How can we best test it? Just by browsing in midori or firefox, and noting which of openjdk or openjre is installed if there are crashes?

For the earlier crashes I posted about, it was jre not jdk.

I suggest moving this discussion to the other thread, where it may attract more notice. Perhaps someone could answer there about what sort of testing would be helpful, in a way that intermediate users will understand?
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Java plugin?

Post by djemos »

Tests can follow these steps.
Install openjdk.
Open midori and firefox and using applets can check if java is working. (e.g.Electronics Demonstrations applets)
Then install openjre (which removes openjdk) and do the same.

This is useful also test java
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Java plugin?

Post by laprjns »

My apologies. I found out that I had a "non Salix sanctioned" jre package installed. Once I uninstall it, everything is working fine.
Great refresher site of those of us Electrical Engineerings that haven't done electrical engineering in over 20 years. :geek:
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply