Cannonfodder Posted April 9, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
bvc Posted April 12, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted April 13, 2003 Author Report Share Posted April 13, 2003 Same... I enjoyed figuring it out instead of just staring at it and going "damn damn" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.