Cannonfodder Posted April 9, 2003 Share Posted April 9, 2003 These instructions were created using Opera 7.1 Beta TP4. Use them if you can't get Java to enable.. 1. Create a file in your .opera directory. Call this file javapath.txt. 2. Locate your java directory for your distro. In Mandrake 9.1, this is /usr/java/j2re1.4.1_02/lib/i386 Note: If you are not sure where this is, do a search for a file called libjava.so. In some distros you can type locate libjava.so to find it. 3. Type or copy the path into javapath.txt and save. If you type j2re1 (as shown above), be aware that is j2re followed by a one, not the letter L. This is why my java wasn't working before. 4. su to root and use your fav editor to modify the file /usr/bin/opera. I suggest backing up the file first (cp opera opera.bak). Locate a line # Uncomment the next lines to workaround the "preloaded libXt" problem. and uncomment the following 3 lines. When done, should look like: # Uncomment the next lines to workaround the "preloaded libXt" problem. LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so" OPERA_FORCE_JAVA_ENABLED='1' export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED 5. Save the opera file and then type exit to leave root. All done.. I tested this with a java applet and can also open the java console. That's as far as I went.. -- Check out our Mandrake Linux Discussion board at www.mandrakeusers.org/index.php Mark Ryan aka cannonfodder Link to comment Share on other sites More sharing options...
bvc Posted April 12, 2003 Share Posted April 12, 2003 Thanks :!: ...and to think....editing /usr/bin/opera probably would have fixed all my previous attempts at using the shared versions.*sigh* :D Link to comment Share on other sites More sharing options...
Cannonfodder Posted April 13, 2003 Author Share Posted April 13, 2003 Same... I enjoyed figuring it out instead of just staring at it and going "damn damn" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now