How to make sure an applet runs with Java 5?
Hi all,
First let me say thanks for all the help in the past. You've help me go from noob to intermediate noob. I've just about finished my first applet game which can be checked out here .
Now I've been reading about problems with mac and 1.6. (note it works on Linux). I want to make sure that it runs fine and of course I don't own a mac. So I downloaded the 5 JDK. Selected it as the java platform in Netbeans, compiled and it ran fine.
Questions:
Do I have to always use 1.5 to compile and perhaps set it as default?
Since it works in 1.5, do I compile it with 1.6 and just upload?
I'm worried I'm not testing it correctly. I mean if I have both 1.5 and 1.6 installed on my machine, how to I make sure the applet is only using 1.5 to run?
Thanks
Darrin
corlettk wrote:
I haven't got a clue RE your problem other than for max-portability you should compile with [-target 1.5|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html].
I must say I'm impressed, except I suspect my PC must be substantially faster than any of your test platforms... can you throttle it to CPU performance somehow? Or maybe it's just that my reflexes aren't what they once where.Thanks.
There seem to be two issues. The first is what people are using. This web stats shows pretty poor penetration of 1.6.
[http://www.statowl.com/java.php|http://www.statowl.com/java.php] Penetration: 54% with JRE1.6 + 19% with JRE 1.5. Total 73%.
The second is I've read that mac and 1.6 do not get along except on a 64bit platform.
So for applets there is not much choice but to compile on 1.5 for the broadest user base. I guess the good news is 1.4 and earlier are almost non-existent.
Edited by: Darrin.A on Apr 27, 2009 8:11 AM
Similar Messages
-
How to get applets running with Java Plug-in on Win but also on Mac OS X???
I've converted to the use of Java Plug-in for my applets, but I need to have those same applets executable from browsers on Mac OS X platform. Surely this has been done, but I don't see how. The browsers I've tried on Mac OS X (Netscape, IE) don't seem to recognize the <OBJECT> tag used for the java plug-in. I've seen no news about the Java plug-in being ported to Macs. How can one get the same applet to run with the Java plug-in on Windows browsers, and also to run with at least one of the common browsers on Mac OS X? Any help would be SO much appreciated!
Those ten dukes look good to me. But the passing of fifteen months has me thinking you've probably moved on. In any case, here's my effort.
I've been through a trial trying to get my applet, developed with 1.4.1_03, to run on my Mac OS X v.10.2.6 in multiple browsers. I'm posting my results here. Comments and feedback are welcome.
JVM support for 1.4.1 is limited to the Safari browser. All other browsers running in Mac OS X that I've tried ( Camino, Opera, Internet Explorer, Mozilla ) are using the 1.3.1 plugin. According to a bug report by Mozilla on this topic ( see Bugzilla Bug # 197813 http://bugzilla.mozilla.org/show_bug.cgi?id=197813 )
with the release of Apple's version of Sun's Java 1.4.1 the applet programming model has changed, and only Safari has adapted with this change. Other browsers, according to the report, could not because of a lack of documentation. The use of the MRJCarbon plugin offered by Mozilla (here - http://www.mozilla.org/oji/MRJPluginCarbon.html) only allows Mozilla to use the J 1.3.1. And I have not found any information on the Microsoft site about how to get IE 5.2 to recognize the newer version of Java.
Regarding the use of the OBJECT tag in Safari, it is a matter of debate. A current post on this topic exists in the Applet Development forum:
http://forum.java.sun.com/thread.jsp?forum=421&thread=441002
In my experience, I have not been able to determine that Safari v1.0 recognizes the OBJECT tag. My experience is that the APPLET tag is required to run applets in Safari. The Bugzilla report echoes the problem with the BadMagicNumber error that can arise in Safari. Nonetheless, I enjoy Safari and I enjoy Mac OS X. -
How to make a shortcut to run my Java app in Windows?
Hiya, Coders :-)
I am an absolute beginner.
I have copied a little window program from "Java 2 in easy steps".
I run it from the command line and a little window pops up.
I cannot find a way to start the app without the command prompt.
How can I make a shortcut to start it?
Julian (-_-)Hiya, Coders ;-)
As it happens, I have a game from UJ Software: "Shisen for Java".
It has a shortcut, of course.
Here are all its details just in case it helps ...
The game folder is here:
C:\Program Files\UJ Software\Shisen for Java\jShisen.jar
Contents of the installed shortcut ...
General:
Type of file: Shortcut
Opens with: Java(TM) Platform SE binary
Location: C:\Documents and Settings\Julian Bury\Start Menu\Games
Shortcut:
Target Type: Executable Jar File
Target location: Shisen for Java
Target: "C:\Program Files\UJ Software\Shisen for Java\jShisen.jar"
Start in: "C:\Program Files\UJ Software\Shisen for Java\"
Run: Normal window
I don't suppose this will help.
It strikes me that nobody knows for certain how to run a java app!
I have two beginner's books, neither of which mentions anything beyond the command prompt.
Tricks to minimize the console window are just not professional!
The solution must be written authoritatively somewhere ...
has anyone seen it, please?
Increasingly disturbed ...
Julian *(-_-)* -
My Mac Book Pro has slowed to less than a crawl (possibly from a worm or virus). How do I make sure it's running at peak efficiency before I complain to comcast
Please answer as many of the following questions as you can. You may already have answered some of them; in that case, there's no need to repeat the answers.
Restart the router and the broadband device, if they're separate. Any change?
Run Software Update and install all available updates for OS X or the computer's firmware. Any change?
If possible, connect to the router with an Ethernet cable and turn off Wi-Fi. Any difference?
Are any other devices on the network, and if so, are they the same?
If you can connect to more than one network, are they all the same?
Are all network applications affected, or only some? If only some, which ones?
Is networking always the same, or is the problem intermittent?
Disconnect all other devices from the network. Any change?
If you're running a MacBook with the lid closed, open the lid. Any difference?
Start up in safe mode and test. Any difference?
Start up in Recovery mode. From the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. Any difference?
If possible, turn off Bluetooth and disconnect any USB 3 devices. Any difference? -
How to make sure that schema name is not included with generated sqls
How to make sure that schema name is not included with generated sqls with tableadapter wizard.
What should I use? Oledb, ODT.NET, where can set that I want "pure" sqls, not schemas, not ", or anything like this
I want
"Select a,b from t1" ,not "select "a","b" from schema.t1"
Also schema name is put in all parameters, all over the place... What if schema name changes. (b1test to b1prod)
. I now manually edit XML files of dataset. It works but....
thanksThe full hardware :
Processor Intel core due 3.00 MHz
RAM:1.5GB
psu:650 Watt (but i baught i cheap one so it may be actually about 400 watt)
HD Disk:160 GB
But about the power supply if it not able to run the VGA card ,Is it will not show any screen or it will not able to run the computer?? -
Hi,
Im unable to open the RPD online getting following error.
Note: Im not done any changes. Its works good till yesterday EOD.
Error:
[NQSError:13037] cannot connect to BI security service,Please make sure this is running properly (with SSL or not) in EM.
[NQSError:37001] could not connect to the oracle BI server instance..
Kindly help me to fix this issue.Hi,
Could you access the answer side.
Could you see the reports.
Do one thing, take a back up of NQS config file from <Oracle Location>\instance\instance1\config\obiserver folder\nqsconfig.ini file.
Copy nqs config file if you have already have a back up.
Restart the services and try once.
http://mkashu.blogspot.com
Regards,
VG -
How to make sure that after browsing that the webpage is not running in the background, but totally closed down
Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.
-
Hi,
EPM version: EPM 11.1.2.1
When we are using Zoom In Level as All Levels and tring to drill down for dimention of HFM application we are getting below error.
Error: "Cannot connect to the provider. Make sure it is running in the specified host/port. Error (12031)"
As we found some solution from comunity , we have performed below workaround but still we are getting same error.
· We have done the changes in mod_wl_ohs.conf file of OHS with (WLIOTimeoutSecs 3600 and WLIOSocketTimeoutSecs 3600)
· And then restarted OHS and APS service but still we found same error.
Could anyone please suggest ,where can we trace its log from web server and the solution for this issue?
Thanks,
D.N. RanaHi,
We have already performed the changes for APS in OHS as mentioned in the solution and the path also same as under OHS.
Intially we were getting error for "to increase netRetryCould and NetRetryInterval" as a solution we have added below 3 registry DWORD keys under path
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
"KeepAliveTimeout"=dword:00180000 (26 Minutes)
"ReceiveTimeout"=dword:00dbba00 (240 Minutes)
"ServerInfoTimeout"=dword:00180000 (26 Minutes)
Above error resolved but then we received Error"12031"
Now we have added above 3 DWORD keys under path HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
and now we are not getting the error "12031".
But here we are not getting how it(LB issue) resolved with above solution?
Thanks,
D.N.Rana -
I am having an issue retrieving on a SmartView grid running 11.1.2.2.309.01 and SmartView 11.1.2.2.102.I have a grid with three attribute dimension and, at first it was long running and gave me a netretry netinterval error. I shared with my administrator and, they gave me the registry updates to increase my timeout for my default browser. Now, I try to retrieve the same sheet and after approximately five minutes, I get the message, "Smartview Error: "Cannot Connect to Provider. Make Sure It Is Running in the Specified Host/Port (503)". I am not sure what this means. I can retrieve on other grids with one attribute dimension or a regular retrieve but, for some reason, I notice when I retrieve on multiple attribute dimensions, I am having this issue. I had this tested with others and, they are experiencing the same result. Any thoughts. Thanks in advance
The timeout was updated to 7 minutes but, the timeout on the APS was never updated. What happened was there was a 7,000 member dimension where attributes where being used to build a retrieve. The attributes were what was causing the issue. Not to say you should not use attributes. Ultimately, an alternate hierarchy in the 7,000 member dimension will help but, I used other members to get the results I need. I just never saw the error message before and, did not see it in oracle support.. Thanks.
-
System 'CE3' is not available. Make sure it is running properly.
hi,
im in CE 7.1 EHP 1. when im trayin to assig a Role to a new task in my process Model i get the error http 502. so i went to Process Instance Tab where i got the error System 'CE3' is not available. Make sure it is running properly.
whatever in windows-->preferences SAP AS Java i have the intance and in Server tab i can see is with status STARTED.
any Idea?
Thanks.Hi Rodrigo,
The HTTP error code 502 is 'Bad gateway'. I also experienced this once or twice when I configured a certain proxy (or proxy script) that wasn't able to resolve that host. Try bypassing the proxy or using a special proxy for your host CE3 in the Proxy Settings of your NWDS.
Cheers,
Martin -
Simple introduction/tutorial on how to make Cocoa-Applescript Applets?
I'm looking for a simple tutorial on how to make Cocoa-Applescript Applets. I'm pretty new to Applescript, but fairly good at it, and I was wondering how Cocoa-Applescript Applets worked. I was curious as I've been wondering if it was possible to somehow display images in Applescript, and it apparently is the only/easiest way. My problem is that I haven't been able to find any tutorials on using it, so I was wondering if you guys could point me in the right direction, that'd be great!
thanks in advanceThe main difference is with how the Cocoa APIs are used - in addition to the AppleScript and AppleScriptObjC release notes, there are some examples and resources at Mac OS X Automation. Note that in Yosemite, AppleScriptObjC is available to all scripts, not just applets and libraries.
-
Hi All
Our user are getting below error when they try to connect from SmartView
Cannot Connect to the Provider. Make Sure It Is Running in the Specified Host/Port.Error(12031).
We are on 9.3.3 planning.our web server is WebSphere
Please suggest
Thanks,You might want to increase the timeout and check:
Smartview in Excel utilizes some Microsoft settings that it obtains From IE. When running on IE 7 or higher there are new settings that have a low default time out. You can increase these by following the instructions in the articles listed below
http://support.microsoft.com/kb/813827
http://support.microsoft.com/kb/181050
Make sure you have a safe backup of the windows registry before you do this .
1. Open the Registry (Start -> Run -> Regedit)
2. Locate the following section:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
3. Create the following new keys for DWORD with Hexadecimal values:
ReceiveTimeout and set it to 00dbba00
KeepAliveTimeout and set it to 00180000
ServerInfoTimeout and set it to 00180000
4.Disconnect and close the Smartview and launch a fresh connection
HTH-
Jasmine. -
i am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi.
How can i make sure impdp is running?
V$session.message = SYS_IMPORT_TABLE_01: IMPORT : 0 out of 27824 MB done
I do not see size of segment increasing or free space in tablespace decreasing.
dba_datapump_jobs.state = Executing
select d.session_type, status, seconds_in_wait, wait_class , event from v$session s ,DBA_DATAPUMP_SESSIONS d where username ='IAMAIN' and program like 'orac%'
and s.saddr = D.SADDR
SESSION_TYPE STATUS SECONDS_IN_WAIT WAIT_CLASS EVENT
MASTER ACTIVE 4719 Idle wait for unread message on broadcast channel
WORKER ACTIVE 0 User I/O direct path write
WORKER ACTIVE 49 Idle wait for unread message on broadcast channel
It does not have any blocking session , or lockwait.
Please suggest.sybrand_b wrote:
And after how many seconds you think impdp doesn't work? 5? 2? 1?
I think you should observe a bit more patience. Give your keyboard some rest ;)
It takes a while before impdp has processed metadata.
Sybrand Bakker
Senior Oracle DBAThe tablespace size start reducing after 3 to 5 minutes interval but the job terninated adruptly. So I attach the job but now its 1 hour nothing is happening.
Edited by: spur230 on Jun 4, 2010 11:41 AM -
How to draw a perfect circle and how to make sure it is perfectly centered inside a square
How to draw a perfect circle and how to make sure it is perfectly centered inside a square in Photoshop elements using the Ellipse option.
1. Create a square canvas.
2. With the Elipse tool, hold down Shift (Shift forces a circle). Draw the circle anywhere on the canvas (Shape 1 in this example).
3. Simplify the circle layer
4. Ctrl-click the layer to select the circle.
5. Copy the selection to the clipboard (Edit > Copy).
6. Deselect the selection.
7. Paste from the clipboard (Edit > Paste). The pasted circle (Layer 1) will be centered.
8. Delete the original circle layer.
NOTE: Step 6 is the key. This guarantees that the pasted circle will be centered.
If you want a circle completely within a square you can simply draw and simplify a circle on any shape canvas. Ctlrl-click the circle to to select it and copy to the clipboard.
Then do File > New from Clipboard. This creates the circle cropped to a square on transparent background. -
How to make sure the maps are loaded though nokia ...
Hi,
I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
but still I cant see the all regional map which I downloaded, without usign live internet connection.
How to make sure the maps are loaded properly to my mobile ?
with regards
Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
Message Edited by myn1126 on 27-Jan-2010 07:54 AMHi,
I have downloaded new nokia map v.3.0109 to my nokia E75 and loaded maps by using nokia map loader (Asia).
but still I cant see the all regional map which I downloaded, without usign live internet connection.
How to make sure the maps are loaded properly to my mobile ?
with regards
Moderator's note: Email address removed. It is not wise to publish your personal information on a public forum.
Message Edited by myn1126 on 27-Jan-2010 07:54 AM
Maybe you are looking for
-
On my iPhone 4, people cant hear me when I make and / or receive normal (GSM) phone calls. But when I make/receive calls using internet-based / native apps like viber or skype, people can hear me just fine. I have tried recording my voice using voice
-
How to display total in a block without total showing up in relevant detail block
Hi there, I create a worksheet, including two block, one of which have detail information with multiple characts and one key figure, another block only have sumerization information takes one cell, which is summarized key figure for that de
-
How to save TS type palette in a text format?
Hello, I am currently using Teststand 4.0.1f1. The problem I currently have is the fact the custom type palettes of teststand (.ini files) are saved in a binary format by default. I also heard that previous versions of TS allowed to save this file in
-
Interface Trip Stop Run - Log file showing an Error
Hi When I run Interface Trip Stop Run - SRS, Request completed successfully but it has the following error. " Failed GMI_Shipping_Util.GMI.UPDATE_SHIPMENT_TXN for Delivery Id 38237" In Sales Order the Line Status is Closed. In Shipping Transactions F
-
Account Number for customer - Urgent
Hi Experts, What is the table and field name for Account number for Customer. Its possible to one account number have more than one customers. Thanks in advance. Points will be rewarded.