This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to run 32 bit jar file on 64 bit netbeans window 7 (64 bir operating system) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to run 32 bit jar file on 64 bit netbeans window 7 (64 bir operating system)" Watch "how to run 32 bit jar file on 64 bit netbeans window 7 (64 bir operating system)" New topic
Author

how to run 32 bit jar file on 64 bit netbeans window 7 (64 bir operating system)

Sunny Virtualian
Greenhorn

Joined: Jul 29, 2012
Posts: 19
can any one guide me.

I have a jar file which if for 32 bit Java runtime environment, and i have 64 bit window 7, more over i have installed 64 bit netbeans version 7.2 on it.

now i want to run that file or just to see code of that file. please help me
Richard Tookey
Bartender

Joined: Aug 27, 2012
Posts: 1166
    
  17

The class files that are packaged in jar files should not depend on the OS or the platform (that is what makes Java platform neutral). The class files may depend on the version of the JDK being used.

If you are hoping to see the Java source files for the class files then they are not normally included in jar files.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44048
    
  33
And welcome to the Ranch
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14961
    
  26

There is no such thing as a "32-bit JAR file". Java code is independent of the underlying platform. It doesn't matter whether you compile your Java source code on a 32-bit or on a 64-bit JDK - you'll get the same byte code out of it.

The 32-bit or 64-bit is only relevant when your program contains native code, not written in Java, but for example in C or C++.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Sunny Virtualian
Greenhorn

Joined: Jul 29, 2012
Posts: 19
Problem was solved. thank you all for helping and giving advices.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to run 32 bit jar file on 64 bit netbeans window 7 (64 bir operating system)
 
jQuery in Action, 3rd edition