Results 1 to 4 of 4
Thread: JAR can be installed on any JRE?
- 01-24-2011, 09:26 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 3
- Rep Power
- 0
JAR can be installed on any JRE?
Hi,
as i remember the main goal of java is to create 1 apps that can be installed and run on many platforms (a particular JRE)
So, is all .jar file can be installed to any JRE? for example i install one .jar on windows, then can i expect it to work also if i install in on solaris?
Because i ve been told that the libraries on java windows are diffrent with java on other platforms.
thanks in advance.
- 01-24-2011, 10:39 AM #2
Hi, if you use special library, for example java3d, you can need install this library for particular platform.
Same if you use in your code new features in Java6 or Java5, for example generic, you must use Java5 and above.Skype: petrarsentev
http://TrackStudio.com
- 01-24-2011, 04:04 PM #3
Yeah, assuming your jar is self contained and is pure java (no native code calls), then you can run it on any platform that has a JRE of the same or higher version that you compiled the JAR for. So, if you compile for 1.5, you can use 1.5 and above on any system (as Petr pointed out).
- 01-26-2011, 05:28 AM #4
Member
- Join Date
- Jan 2011
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
How to find where jdk is installed ......
By bhushan in forum New To JavaReplies: 2Last Post: 07-29-2010, 03:45 PM -
Listing Installed DSA
By anoopasta in forum XMLReplies: 1Last Post: 05-06-2010, 04:10 PM -
Running a jar after it's installed
By Doctor Cactus in forum New To JavaReplies: 7Last Post: 01-20-2009, 11:08 AM -
Getting Installed Look And Feels
By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:45 PM -
cannot find a JVM installed
By tommy in forum New To JavaReplies: 2Last Post: 07-29-2007, 08:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks