Results 1 to 3 of 3
Thread: 3 Questions from a JAVA newbie
- 03-08-2011, 11:26 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 1
- Rep Power
- 0
3 Questions from a JAVA newbie
Hi,
Just started coding in Java, I have a lot of experience in VB. I really really would appreciate if someone can point me towards the right direction !
I am developing a simple application which should be able to run in Windows (xp, Vista, 7.. 32 & 64 bit) and on mac too.
Here are a few question I have :-
1) Do I need to make multiple versions for each windows(xp, Vista, 7.. 32 & 64 bit ) & Mac ?
2) How do we make changes to registry any inbuilt in java ?
3) Make the application auto Updating
Any help is appreciated !
- 03-08-2011, 11:34 PM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
1. no, java uses the jvm, so if the other system has a jvm the code will run on any platform(java is generally cross-platform) and a bit thing they used to tout was "write once, run anywhere" (or something similar to that)
2. I am not quite sure what you are asking, this might be a bit more than I know.
3. what do you mean auto updating?
- 03-09-2011, 05:26 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Have you ever heard that "Write once, runs anywhere ...". That means Java is platform independent. In simple words you can run the same application on any OS. (But keep in mind that depends on the implementation too: refer my comments below)
Registry is Windows specific, not in UNIX or Mac. Still you can read the registry with Java, and there are many way to do that. But those applications cannot run on UNIX or Mac. So in such case best practice is to maintain your own configuration file. May be a simple text file.
Auto updating sense your application must look at a repository (a server may be) for new versions. You can download the newer version and replace it with the existing. If you could provide more details we can comment more.
Similar Threads
-
Newbie Questions
By physalis123 in forum New To JavaReplies: 6Last Post: 02-22-2011, 04:17 AM -
Several newbie questions, applet help mostly
By gymangel812 in forum New To JavaReplies: 4Last Post: 02-16-2010, 02:00 AM -
Couple of newbie questions
By ananasman in forum New To JavaReplies: 11Last Post: 11-20-2008, 11:54 PM -
Some newbie questions about shortcuts
By nefigah in forum EclipseReplies: 2Last Post: 07-29-2008, 08:25 AM -
Newbie with questions
By buzzdsm in forum New To JavaReplies: 14Last Post: 06-05-2008, 04:11 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks