• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A question on portability

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having problems porting my java aps from the Macintosh I programmed them on over to a Windows machine. I'm using CodeWarrior on the Mac and I don't know which files need to be moved over to the Window machine that the program will eventually run on.
Yes, I know I could simplify things by simply programming it on the machine it's going to run on, but I need to run it on the server and working in the server room is cold and I'm not sure the company would like me very much if I spent hours and hours in there. Any help would be greatly appreciated.
Jax
 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All of the java .class files that result from your
programming need to go to the new platform. All of
the .class files and .jar files (if any) from the
ui toolkit, communications toolkit, database access
toolkit, etc. that you may have used in your application
also need to go over.
If you compile your application with the -verbose
option to javac, you will see all the classes that
the compiler loads while it compiles your code. Most
of them will probably be java.lang.something,
java.io.something, and so on. They should already
be in the target platform's Java runtime envirionment.
It will be the ones like com.laakso.killerapp.Widget
or com.symantec.something that you have to find on
the development machine (probably in a .jar file)
and make available on the target machine.
Be aware that the Mac look and feel cannot be deployed
on non Apple machines, even in Java, under most circumstances,
due to Apple's licensing. As a result, you may notice
ui differences under non Apple machines if you programmed
to use the Mac look.
HTH,
Joe
[ February 22, 2002: Message edited by: Joe Gilvary ]
[ February 22, 2002: Message edited by: Joe Gilvary ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic