how jusched.exe checks for java updates? - java

I have learned that javacpl.exe is a java control panel for java settings.
Also the jusched.exe is scheduler and it will check for java updates.
My questions :
Does anyone knows how jusched.exe will check for updates ? What is the secret code behind the sheduler ?
Does the jusched.exe user this link to get latest java version http://java.com/applet/JreCurrentVersion2.txt .
And if the jusched.exe found that version is greater than the current installed java version , It will do for updates ?
Hope I will get a reliable answer here.

That's... that's pretty much it, actually.
Well, I don't know for sure what jusched.exe uses to check for an update (it may well be the link you provided), but that's the basic idea—check some source for an update at a predetermined time, and if an update is available, alert the user and begin installing.
It may be possible to get an even better picture of what jusched.exe connects to by using a network analyzer like Wireshark, if you're interested in the source in particular.

Related

LIRC mode2 waits for continuous user input, in Raspberry pi I am building a universal remote using java. looking for receiving input (RAW)

I am looking for a solution in java for recording inputs for LIRC codes of any remote.
i have tried
Process p = Runtime.getRuntime().exec("mode2 [driver_details] -m");
it executes but hangs the UI and i cant stop it implicitly...
every time i had to stop it forcefully...
please help me i have been looking for the answer for 2 months and i got nothing..
or suggest me some library for java for LIRC..
i have tried jlirc but i cant found to record the raw inputs...
similarly i can send the ir signals using same method and didn't faced any problem.
I have even tried waitfor() method of process but didn't got anything
First of all there is already at least one Java application which can record LIRC codes for any remote: IrScrutinizer at http://www.harctoolbox.org/IrScrutinizer.html
That said, you did not mention the lirc version used. IIRC, older versions including the really old 0.9.0 was not able to redirect the mode2 output. So, if you still want to follow this path, updating lirc to current 0.9.4b is a starter. Depending on your platform this might or might not require you to build it from upstream sources from https://sourceforge.net/projects/lirc/files/LIRC/0.9.4b/
Note that the update from 0.9.0 to 0.9.4 is non-trivial, the configuration is very different.

Oracle Forms running on java 6 Update 45

I have one program, I maintain, that was originally written in Oracle Forms 6i. A while ago I migrated it to 11g. Our users access this Oracle Forms program through their Internet Explorer browser on their Windows 7 machines.
The problem has been that the program only seems to run well for our users, when they have Java 6 Update 45, installed on their machines. Going to a newer version causes problems.
Today, I wanted to get this resolved, so I updated my PC to Java 8.31, and attempted to access my Oracle forms program using IE. (Thanks to Viewing oracle app and getting: java.lang.ClassNotFoundException: oracle.forms.engine.Main I was able to get the form running again in my web browser.)
When my form ran, I found the tab key wouldn't advance to the next field on the login dialogue box. But after I logged in the tab key worked. (The tab key initially not working is a small thing, but it has really annoyed some of our users.)
I then used several different forms. Some worked just fine, no problems. But then when I clicked a button, on one form, it would endlessly try to complete a request; to the point that I couldn't even close the web browser to stop it. (Finally I just used task manager to end my web browser’s process.) This seemed to go in line with what some of our users have reported: (when attempting to use the latest Java) that the Oracle forms application just stops working completely after a while.
Because of these issues our users want to keep Java 6 Update 45 on their machines. I know this is a major security hole, but I haven’t quite nailed down what the solution to it is.
Has anyone else had a similar issue? We're running Oracle Fusion Middleware 11; specifically Forms Services version 11.1.2.0.0
Thanks.
Well this may not be a question that needs answering after all.
I've done some more testing since asking this. Besides the login dialogue box (not responding, as it should, to the tab key) everything else works just as it should.
I still have one form that hangs; but that’s all (and it may be caused by something else). All my other forms seem to work just fine.
I talked with one of my co-workers, and I realized we really need to investigate and determine what version of Java our users really are using. They may not have used the most recent version of Java; which I used with success, today. Or some may be already on it; and that's why they aren't complaining.
At any rate more research, is needed on my part. Thanks to all who read this. If any of you have had similar experience in something like this, still feel welcome to answer/comment.

Swing Works different on different Platform

I have made a Screen Recorder using Java Swing and Xuggler 5.4. I have developed it in Windows 8 64 bit. It's working excellent for Windows. But at client side on Linux's environment , nothing is working. I have searched thoroughly but not getting any solutions. I have checked this thread , but it didn't work for me.
Then I tried to create simple Transparent window in Linux but it's also not working. I was not able to click through the Resizeable Panel. I have used the same JRE version (1.7) for both. Have I miss understood Java's Cross Platform Support as far as Swing is concerned?
Please Give Me Some Advice...
I have always found logging to be the best debugging tool at your disposal! Many a times, java debuggers take you into APIs where you need not go every time. Logging values of your variables, and generic 'I have reached till this point' statements make life a lot easier.
So, I suppose you have ample logging done in your code. That could give you clues on what's happening on your client's system.
Are the right environment variables set? Are they pointing to the correct Java versions you need.
If there are some specific Screen capturing requirements(plugins / modules / API) your code has, are they available on the Linux m/c?
Like #MadProgrammer said, in the end, Java has to talk with the native graphics APIs to render your screen.
I would try to debug it in this way -
Check whether my main screen loads or no(by disabling the screen capture functions for a while).
if not, dig deeper.
Check whether all necessary components for capturing screen(audio and video) are available.
Check whether the code is being run with appropriate permissions to control the h/w devices you may need.

Java out of date? installed version 8 JSE. Applets fail to work. Web check OK

I continue to get out of date message when trying to view an applet. The applet checker informs me that I have the correct version. I have the security settings correct but still no joy. When trying to go through the update it stops TO inform me that I have a later version already installed, which is correct. On a Mac OS 10.9 I could show you the screen shot but don't have the points. Bugger
Thanks for those who have replied and I'll try to elaborate further.
JavaApplets do run from the java web site. The creation of my own applets don't run. I have done some research and it would seem that under version 8 all JApplets must be signed. This would explain the message I receive. Also the link below may explain what the problem is. Sorry but I don't have the 10 points yet to be able to send a screen shot.
Again runnin the update (version7 downloads) stops to inform me that I have a later version installed (version 8). So you can see that things arn't perfect
![][1]
https://weblogs.java.net/blog/cayhorstmann/archive/2014/01/16/still-using-applets-sign-them-or-else

SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)

I have been looking for a solution to this problem because I want to use this software in my mac but seems not to work any of the solutions I found..
of course installing the latest version of JAVA -> JDK 7
changing sqldeveloper-Darwin.conf and SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
same but changed to /Home/bin just to try diff solutions to the problem
I also changed the sqldeveloper.conf and put the SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home there
try to run the sqldeveloper (/Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin) shell waiting to see if was going to prompt me or ask me for JDK or whatever a set it to /usr (but never happened)
going crazy now, so decide to make the post to see if someone can help or figure which step I am missing and maybe not seen the mistake..
This is where the program hangs...
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
at org.netbeans.core.netigso.Netigso.start(Netigso.java:190)
at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:198)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1189)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1011)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
at org.netbeans.core.startup.Main.start(Main.java:307)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:744)
I really hope, someone can help me, I really tired of booting on Windows to run SQL Developer plus I find it kinda dumb that Oracle don't encounter this kind of issue to make users experience more nice.. ;)
There is one solution. I have been using SQL Developer for some time now, and i am not happy about it (I am on a MAC btw), there are so many bugs and the intellisense sucks. It is a functional program nevertheless.
Download and use navicat instead. Or try to find another one instead. It might not be the solution you are looking for, but i will recommend it.
http://www.navicat.com

Categories

Resources