Running an applet without Java - applet

Is there a way to run an applet in a browser without JRE or JDK on the machine?
If not, is there a way to run an applet in a browser with a light plugin?

No, there is no solution : an applet needs a JVM to run.
When you install a Java Plugin in your browser, it installs a JRE.

You could run the applet on another machine (perhaps a virtual machine in the other common sense), and then use a remote desktop. The is similar to the way Opera for mobiles works.

Related

Install4J VM detection fails on Mac

We're getting ready to deploy our app (Cytoscape) using Install4J7's feature that detects the installed JVM and offers to download a new one. We find that if we download a JVM, let the installer finish, then run the installer again, it offers to download a new JVM again. I would have thought it would have detected the one it just downloaded.
Have we misconfigured something?? Or is there a later version of Install4J?
Our JVM range is 1.8.0_152 .. 1.9.
The JVM we're downloading is here: http://chianti.ucsd.edu/jres/macosx-amd64-1.8.0_162.tar.gz
What could be going wrong??
Thanks!
This is the expected behavior. The installer does not look for existing installations and use their JVM, it downloads the bundled JVM if not suitable JVM was found in the search sequence.
Check that you have not selected 32-bit for your application and then downloaded a 64-bit JDK. Or vice versa.

Issue with Netbeans

I have installed netbeans in my PC (windows 7), wrote a javaFX application program and generated executable jar file
I finally need the executable jar file to be working on Raspberry pi linux and I want to use only openjdk since oracle java for Rpi doesn't support AWT and Swing and my application majorly includes that.
When i tried to execute the jar file using openjdk, i am getting an error - you need to install newer version of JRE to execute this file. I have also tried to execute the same file in ubuntu to verify if there is something wrong and its showing the same error
But, the jar file was executed properly through oracle java in ubuntu. I also tried using Oracle java on RPi, but it opened but didn't work properly.(expected, because it doesn't support AWT and Swing)
So, I think i have an issue opening the file using openjdk. Can somebody help me with this
Thanks in Advance
I am in the process of buying my Raspberry Pi but have already started looking at the development environment I will need. You may find what you are looking for in these very clear resources I found:
http://adf4beginners.blogspot.co.uk/2013/04/how-to-get-java-embedded-suite-running.html
http://docs.oracle.com/javame/config/cldc/rel/8/rpi/html/getstart_rpi/toc.htm
As Ryanteck mentioned, you will probably have to be running Raspbian (item number 1, the tutorial, uses that OS).
Good luck
The Raspberry Pi's recommended OS does not support Java at all. The main thing to try is to test it using the Debian Soft float image which should support Java on the Raspberry Pi fine. But it is still in development so may not work.

java 7 update25 applet not working on IE10

Anyone has success of running applet page below with IE10 installing the jre7u25?
http://www.java.com/en/download/testjava.jsp
Are there any way to disable update of java when using runapplet below?
http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html
Anyone has success of running applet page below with IE installing the jre7u25?
I don't use Windows, but I'm sure someone has. At least for some version of IE. It is (frankly) implausible that it doesn't work in the vast majority of cases.
Please be specific about what version of Windows and IE you are talking about, and how it is "not working" for you.
Are there any way to disable update of java when using runapplet(jnlp) below?
This doesn't make sense. JNLP doesn't update Java.
The problem with Java and IE10 seems to be to do with 32bit versus 64bit. Apparently IE10 defaults to running in 32bit mode, even on a 64bit platform. And a 32bit browser requires a 32bit Java plugin.
Check what versions of Java you have actually got installed.
Try switching IE10 to "Enhanced Protection Mode" and see if it can find 64bit Java.
Try manually installing a 32bit Java.
Reference:
http://www.java.com/en/download/faq/win8_faq.xml
I figured out why the problem occurs.
IE10 runs in 64bit frame but the tab runs in 32bit mode.
There is a way to run tab in 64 bit mode in windows8.
http://www.lockergnome.com/windows/2012/08/25/how-to-make-internet-explorer-10-run-in-64-bit/
But it doesn't work in windows7.
I tried with chrome ie tab which runs chrome and ie in 32bit mode in which the applet works.
I had problems too with my applet. In Google Chrome from the start works perfectly.
Internet explorer 10 seems not recognize new Java 7 u 25 installed on PC after automatic upgrade.
I solved problem with next steps:
uninstall all Java 7 versions on PC
Download Java package on http://www.oldapps.com/java.php (depending what you need 32 or 64 bit)
install Java
After that IE10 recognized Java and applet works fine.
Maybe just add the env var like the next post says. That functions for me!!!
https://forums.oracle.com/thread/2530883?tstart=0
And add too the parameter at execution time like the next post
http://nicolask.wordpress.com/2012/11/30/oracle-jnitiator-version-too-low-please-install-version-1-1-8-2-or-higher/
I hope this help you!!! And as an advice use chrome for better performance.
The only way I could get the latest java (7 update 25, 32 bit) to run ALL THE TIME in Internet Explorer 10 desktop mode (in Windows 8 64 bit) was to create a new shortcut to:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe
Then hitting advanced (in the shortcut) and choosing RUN AS ADMINISTRATOR
If you do not want to do that (for security reasons), the work around that I found, was to install Chrome (as Java works all the time) and use that for sites that require Java.
I hope that helps
the 64-bit java plugin is not compatible with Enhanced Protected Mode, which is a new type of sandbox they have for IE10 and IE11.
Therefore , disable Enhanced Protected Mode, install 32-bit JRE and now IE should run 32-bit child processes for each window, which will be compatible with Your 32-bit Java plugin.
This is valid for the desktop-mode IE in Win8. The new-flat-unintuitive-mode IE has Enhanced Protected Mode enable per default. You can check by using Process Explorer, and showing the Integrity column. If "AppContainer" is displayed, then EPM is used
Hope this helps

Java App started as service on 64bit environment, but doesn't work

I have installed 64bit jre on my pc (starts in mixed mode), then i compiled my Java application in 64bit mode. It starts prefectly and works fine as stand alone application.
Then I install it as service using a JSL.EXE (with jsl.ini) and it starts again fine, BUT doesn't work: doesnt answer (this is a small server) and writes nothing into a log-file.
The same application works fine as a service if i compile it with jre 32bit and install as a service in 32bit environment.
thanks
Solved. I have just run jsl.exe -debug and saw everithing, what has been happen. The wrong JRE was taken by jsl... and i schould also define a jvmtype parameter in jsl.ini.... and i didn't know that jsl64.exe schould be used for 64bit java apps (apps with 64bit SWT)
[java]
jvmtype=server,client,hotspot,classic
thanks

Regarding eclipse galileo

I'm using eclipse galileo for developing some web application. But I want to get the eclipse installed on the server(assume some other pc or server machine) and I want to access it as a client and work as I was working before. Please suggest me what type of server I should configure and which Operating System supports it.
A little bit weird to put the IDE on the server but you can use whatever OS you want, put the Eclipse there and connect to it using VNC or Remote Desktop.