You are not logged in.

#1 2004-03-21 12:50:06

judfilm
Member
Registered: 2004-02-12
Posts: 229

Opera and Java

Hi

Found a problem with Java and Opera.

Opera v7.23 packaged by/Maintainer Contrasutra - latest
Java v1.42 - j2re 1.4.2_04-1 packaged by/Maintainer Jason Chu - latest

Error: dont have permission or cant find opera.policy and same for opera.jar


My Fix (might not be the best way)
-------

Added the lines to opera6.ini ( /home/user/.opera/):

[Java]
Security Policy=/opt/opera/share/opera/java/opera.policy
Opera ClassPath=/opt/opera/share/opera/java/opera.jar
Enabled=1


Then I edited the opera.policy file with policytool in /opt/jre/bin
open the policy file
change codebase line to "file:///opt/opera/share/opera/java//opera.jar"
save

reload opera and load a java app

Note to maintainer: hi, could you please update your package to solve this issue - thanks smile

to all arch people - keep up the great work!!!!

Offline

#2 2004-03-21 14:02:44

terrapin
Member
From: Lockport, IL
Registered: 2003-08-06
Posts: 104

Re: Opera and Java

err...that was my fault.  The package build for 7.23 doesn't edit the /opt/opera/share/opera/java/opera.policy file.  I have changed that in the 7.50p3 pkgbuild.  Sorry.

Offline

#3 2004-03-22 04:00:25

judfilm
Member
Registered: 2004-02-12
Posts: 229

Re: Opera and Java

Thanks for the fix,

would it be possible to fix the current 7.23 package aswell?
also is it possible to change the directory structure? to me it seems to use way too many "opera" subdirectories under /opt/opera.

thanks again

Offline

#4 2004-03-22 04:04:53

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: Opera and Java

I updated the package and I also added an opera.sh script to /etc/profile.d/ , so now /opt/opera/bin will be in your PATH.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

Board footer

Powered by FluxBB