Java Desktop browse() opens %u instead of URI - java

Well, the title says it I guess.
When trying to launch the default browser by using the Desktop's browse() function, the browser does open but points to the wrong URI beeing %u
I can't narrow it down to the code, as I haven't changed it.
What I did change was the OS now beeing Ubuntu 11.10 instead of 11.04
And I installed Java 7, but keep using Java 6.
Where does it go wrong? Any Clues?

I know I'm late to the game but I had the same problem, too. Thanks to all the good hints in this question and the comments above I found a config key in gconf-editor:
/desktop/gnome/url-handlers/http/command (and similar)
The command that I found in this key was "firefox %u". Unfortunately, the key was not really documented very well but I noticed that other keys in that area used "%s" for the parameter. So I tried and replaced "%u" by "%s" and - yay! - the darn thing works again.
I'd also like to use this opportunity to thank the guys at Canonical for messing up Unity so thoroughly.

Related

how jusched.exe checks for java updates?

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.

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

Java SDK Manager Crashes with "flashplayerplugin" in the command line output

I read few topics about sdk manger and java issues but my problem doesn't correspond to any.
When i'm launching SDK manager.exe I get as output :
flashplayerplugin
As I was thinking that it was a Java issue I've launched sdk\tools\libs\find_java.exe (the .bat returns a blank line)
I get as output :
flashplayerpluginC:\Program Files\Java\jdk1.7.0_17\bin\java.exe
I really don't understand why this flashplayerplugin is coming in the output and crashing the program.
I had the same issue. My problem was caused by the tool airfoil. It wrotes a registry entry on:
HKEY_CURRENT_USER\Software\Rogue Amoeba\Airfoil\WhiteList\WhiteListItem_12
with entry:
name = *flashplayerplugin
Solution: just remove the * before flashplayerplugin and then SDK Manager.exe will start properly.
It's not an issue with Java, it's an issue with Flash. See this Super User thread. The poster there was able to solve it, but I could not and had to use System Restore to get back to the point before I updated to the latest Flash player. In my case I think the difference may have been Chrome's custom Flash player.
Simply un-installing Airfoil worked for me if this is an option for you.
Update Flash Player and Java...might help

Inactive plugin error when using java applet on MacOSX10.6.8

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

Netbeans IDE problem on MacOSX

I installed Netbeans IDE on Mac OS X few weeks ago. In the code-completion window while writing Java code, I always get the proper full list of possible code completions but in the window that pops-up which is supposed to display JDK documentation entry (all details) for each possible completion, it always say that JDK documentation was not found! It never happened to me when I worked on Windows.
I even downloaded and explicitly added JDK docs library to Netbeans library but to no use. Has anybody faced such problem? Please help! Thanks a lot in advance.
Well since nobody else answered and I had the same issue, but wasn't motivated enough to figure it out, I tracked down the way to do it... look here.
The only changes I did was to use the latest JavaDoc instead of the 1.5 one and to use Java Platforms in step 3 (I am using Netbeans 6.5, I guess the menu structure changed from when he did it).

Categories

Resources