Go Back   Computer Forums > Welcome To Computer Forums .org > Social Lounge | Off Topic
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-25-2010, 08:00 AM   #11
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Apple deprecates Java

Quote:
Originally Posted by foothead View Post
develop in newer versions, in which case it will only run on Windows
Just as an FYI, a Java program written in Windows will usually run on Linux. Don't want to say every time because I only know it works for the simplistic programs I've written but it should after a change import or two.
__________________

__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 10-26-2010, 04:28 AM   #12
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Apple deprecates Java

Quote:
Just as an FYI, a Java program written in Windows will usually run on Linux. Don't want to say every time because I only know it works for the simplistic programs I've written but it should after a change import or two.
I think he just meant "won't run on Mac" ;-)

Overall it actually works for most programs, simple or complex (as long as you haven't used any platform specific libraries or JNI stuff, which is generally not considered brilliant practice these days anyway.) There's a couple of bits in the API that aren't necessarily supported across all platforms (such as the desktop class) but mostly you'll be absolutely fine. Most of the bugs I've found on other platforms with Java have been due to coding errors, things such as declaring files in a platform specific manner rather than using the proper constructors. Of course, those things just start of as quick hacks you'll fix later, but they often get forgotten...!
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0