Inactive plugin error when using java applet on MacOSX10.6.8 - java

I've set up webmin and it was working fine until yesterday.
I was trying to get it more secured. So I tried to put .htaccess with basic password authentication in the directory related to webmin.
However it didn't work at all. so I just enabled SSL for webmin.
This could be matter.
However now, File Manager in webmin won't work! It just shows "Inactive plugin"
How can I get it work again?

Here's the answer, as described on an Apple discussion forum:
sudo /usr/libexec/PlistBuddy -c "Delete
:JavaWebComponentVersionMinimum"
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

Same error, same solution for me.
Thank-you Joel Bruner - I have been looking for this answer for half the day now!
Just adding that
You must restart your browser for this to take effect - obvious but
an easy mistake if you are frustrated.
You do not need to restart your computer. Also double-check that
Java is enable in your browser and in the preferences pane.
Please note as a helpful guide that the following does not work until you apply the above solution:
Updating Java
Deleting Cache
Changing Preference options
Re-installing Java from the apple website
Re-activating full preferences pane via terminal
Apple update
Restarting browsers or your computer
~mo~

For others dealing with the Java "Inactive Plugin" issue on OS10.6: Apple has recently (March 4, 2013) released a Java update: http://support.apple.com/kb/DL1573

Related

Work arounds or naming the problem for this message: 'do not have permission to open the application "ECGWorkbench'

I'm trying open this application: http://www1.icsi.berkeley.edu/~lucag/
(It's a research tool might might be great for my work so I really want to access it).
I'm running big sur on a 2014 mac book pro. It has Java 8 (I'm assuming that this is the 'Java Virtual Machine' which is specified in the instructions).
When I try and open the app I get the message:
"You do not have permission to open the application "ECGWorkbench'.
Contact your computer or network administrator for assistance."
I've tried everything on these two threads:
Can't run app because of permission in Big Sur
https://developer.apple.com/forums/thread/666611?page=3
I've tried opening the app on a mac which hadn't been upgraded to big sur. I can't get hold of a Windows or Linux computer.
I have two questions:
Is there a work around? I'm not a programer so bear with this question but if the app is written in Java and I had the code could I execute it? The folder with the app in had lots of other files. Or if I installed Linux in a virtual environment on my mac could I then open the Linux version of the app?
If it can't be fixed I'm going to try to contact the developers. The project doesn't seem to be very active so I'm not convinced they'd be interested in updating the app. If I could suggest what amendment they need to make or at least say why it's not working they might be more willing to help me out. Can anyone suggest what I could say to them? Something along the lines of 'I can't open the app because of XYZ, could you change the ABC' would be perfect. The NTL (neural theory of language) project created the app but they are part of the ICSI (international computer science institute) at berkley so I'm assuming they know what code is etc.
Thank you.
Rachel
I've been a little late with my reply, but I hope my solution will help you.
I had the same issue with eclipse (i need it for study things), so i opened my terminal and typed the following command...
codesign --force --deep --sign -/Application/Eclipse.app
After a reasign everything works fine for me.

Administrator Policy blocking Java?

I have IntelliJ IDEA Community Edition 15. I am not the admin of my Windows 10 desktop, but I have been trying extremely hard to get IntelliJ to work. I got the administrator to allow the installation of IntelliJ, but it would not let me run the program. Once I run it, IntelliJ will have an error message reading something like this:
Administrator Policy 1% is restricted by Administrator Policy 2%.
It gives no help whatsoever in how to fix this, but I realized there is this problem for many other of my Java-using applications. I have poured many days trying to research and fix this problem, but I have found no success. Please help. Thank You!
Also, if you extract the JDK (instead of installing it), you can get away with "not having to install java", which some administrators dislike.

Cannot get Java Applets to work in any browser

We are trying to download something from GE that uses Java to download when logging into the site. This is a windows 7 Professional PC. I have other computers that are able to do this successfully. Here is my order of operations:
Log into the site and select the file I want to download
Click download
It takes me to the page that says it will start in a few seconds but nothing happens. It is supposed to have a box that asks for Java to run.
I have reinstalled Java fresh and still nothing. Tried with multiple user accounts. Added the site to the list of exceptions in the firewalls and Java configuration. I have tried an earlier version of Java. This happens in Mozilla, Chrome and IE. I have made sure that the Java plugin shows up and is enabled. I just cant think of what I am missing. And since we are a contractor GE is not going to help us. Can anyone here think of anything?
Are you sure you have the Java plugin enabled? e.g. in Firefox, go to Settings, Plugins, and change Java Platform SE8 'Next Generation Java Plugin' to 'always activate'?
This sounds similar to the issues I had with Cisco WebVPN, Java-style. Once you have Java installed correctly and set as a plugin for any of the browsers you would like to use, see below.
Before you even start looking at browsers - if you think it is already set up correctly
Look at your Anti-Virus programs or anything else that could prevent it from working. McAfee Host Intrusion Protection is known to cause many Java programs to fail. Kapersky had issues, a while back, with Java on Windows (Java Applets not loading in Windows 8 ).
You must have a 64-bit browser to use 64-bit Java (also mentioned in the Chrome link below).
See below for any specific things that can be modified in the browser.
Chrome 43 is the more complicated browser to set up. They have a dedicated page with instructions.
How do I use Java with the Google Chrome browser?
Firefox 38 will prompt you.
In Internet Explorer 11, it's under Internet Options->Security. I recommend adding the hostname the applet is on as a Trusted Site (Select Trusted Sites and click the Sites button, then add the first part of the url). Click the Custom level button and make sure that Scripting of Java applets is not disabled.
If you still have problems with the applet:
Verify your Java version will work with the applet you are accessing
Verify the plugin is enabled for the browser through the Java Control Panel, which is available in Windows Control Panel, or on Mac/Linux, execute it from the JDK directory ($JAVA_HOME/ControlPanel ).
I ended up fixing the issue. I had to allow their UK site on the list for Java and enable the SSL 2.0 for HTTP in Java config as well

Java ME SDK 3.2 (and 3.3, 3.0 as well) just won't start

When i try to launch it any way, Java ME just freezes. To be more specific, javaw.exe called by device-manager.exe seems to go into infinite loop, since not a single exception or error message is passed. Icon in tray appears, but its menu, instead of devices list, shows only one entry: Exit, which incidentally doesn't work. I can only shutdown it through task manager. And since device-manager is required for emulator, i can't work with it at all.
I tried versions 3.0,3.2,3.3 of Java ME SDK and this problem persists in each one. OS: Windows 7. JDK: 7u25.
I've tried each and every advice i found on the Internet and still can't get it working. Device-manager log shows that the problem starts upon calling "rmiRegistryPortFile".
[2013-07-02 19:20:53.070] DEBUG - strap.BasicObjectConfiguration - Calling create on rmiRegistryPortFile
That's always the last entry in the log.
There was only one way i've managed to get it working - by installing and running it under Windows Virtual PC. Curious thing is, under VM it's working fine in the same very OS (freshly installed Windows 7). But unfortunately that didn't really give much on the cause of the bug, and that's not a solution :( I have to somehow get it working without VM.
I tried reinstalling Windows, that didn't help. Looked through javaw I/O in Process Monitor and compared it with working one. It looks like one of the application threads suddenly shuts down after reading file "rt.jar" (when loading "rmiRegistryPortFile" i guess?), whereas working javaw writes to log-file immediately after that. Windows logs got nothing on the subject: no permission issues, no errors or warnings at the time.
Tried modifying PATH variable to the dir with rmiregistry.exe, did not help. Network sockets are available. Changed DEP settings, same.
Could anyone please help? I've spent days on this bug already.
It's definitely a permission problem. Try to look if any folder related to Java is "READ ONLY".
If you get this error message when trying to run midlets through the built-in emulator of the JavaME SDK 3.0, try disabling DEP for runMidlet.exe.
Data Execution Prevention (DEP) configuration can be found at the following place in Windows: Control Panel > System Security > System > Advanced system Settings > Advanced tab > Performance > Data Execution Prevention.
Add this file to the DEP exclusion list:
<javame-install-dir>\runtimes\cldc-hi-javafx\bin\runMidlet.exe
If things work for you now, complain loudly to Sun (now Oracle) that they need to make software without buffer overflows.
Personally I filed a bug-report against the JavaME SDK 3.0. You should do that too, or make your voice heard on the same bug-report that you're having this problem as well.
Freshly installed windows doesn't have msvcrtXX.dlls
Go to folder runtimes\\cdc-hi\\bin and copy Microsoft.VC80.CRT into runtimes\\cldc-hi-javafx\\bin. This problem will be fixed over autoupdate soon.
Problem with localhost
Please edit <javamesdk_installdir>\\toolkit-lib\\modules\\bootstrap\\conf\\system.properties and change
device-manager.object-registry.host=localhost to: device-manager.object-registry.host=127.0.0.1
Port 1299 might be taken
Please edit <javamesdk_installdir>\\toolkit-lib\\modules\\bootstrap\\conf\\system.properties and change
device-manager.object-registry.port=1299 to: device-manager.object-registry.port=1999
XP 64-bit
Please use 32-bit version of JDK.
Firewall
Make sure that firewall is not blocking communication on ports given in 3. Default port numbers are 1299 for windows and 1999 for Mac.
I have tried all those steps above to no avail, until I replaced my JDK jdk-8u117 with jdk-8u112 (Must be 32 bit) after reading this thread https://community.oracle.com/thread/4009110. I had to restart my machine after changing the Java version because it was not detecting right away after installation. I'm using Netbeans 7.4.

Blackberry - Secure API error on simulator

Today while programming, I suddenly started to get a JVM Error 104 and the except read "Error starting XXXX: Module 'XXXX' attempts to access a secure API". I hadn't gotten them before and I wasn't doing anything too radical. I undid my work to a point where it was previously working and the error continued to show. I am aware that certain functions require code to be signed, but the documentation says that even functions that need to be signed will work in the simulator. (using JRE 4.6, version 1,1 of the plugin, on a Bold 9000 simulator)
Any ideas on how to remove this error so I can continue working?
EDIT: I noticed that it works fine on the "Blackberry-SDK - 8900" but I get the error when using the "SimPackage - 4.6.0.307_9000 - 9000"
EDIT: It only seems to be a problem with the "SimPackage - 4.6.0.307_9000 - 9000" simulator which I downloaded seperately from the Blackberry Developers page.
EDIT: Clearing simulator data seemed to do the trick
You haven't mentioned which development environment you're using. If it is JDE, goto Edit -> Preferences, select the Simulator Tab and ensure "Enable Device Security" is un-checked. If you're using Eclipse you will have to find the appropriate mechanism or perhaps someone eles knows.

Categories

Resources