| 1. |
Solve : 64bit java compiler!?? |
|
Answer» First off this is for a class but it is not homework. Thanks BC. I'll let you know how it goes. I have to sleep now so I can get up for my 7:30 class. erm... an "IDE" is what you use to write the code... the compiler is almost always a small command line program that the IDE calls. For example; Visual Basic 6 uses the C++ compiler (yeah, strange, I know); the java compiler is usually called "javac". Personally I've never used Eclipse... I've always used netbeans. Not sure if that's on Linux though. Either way, they will probably have different ways of doing things. but that's not the point; I would hope the class is about java and not the Development environment. If you compile class files on your machine they should work perfectly fine on any other machine; compiled java is an intermediate bytecode, not machine code, so it's more generic. (this is what the java VM is for)It seems to be missing one crucial part... the executable. How do I compile the code that I wright if I have no way to enter it? Did I miss it? EDIT I should menchin that the only programing I have done is batch. That does not require a compiler so may be it does work but I just do not know how to use it.I think I figured out what happend. You for what ever reason gave me the Linux version. I downloaded the windows version and ran the WELL known "Hello world" script. Thank you. Quote from: Boozu on January 14, 2010, 01:07:34 AM I think I figured out what happend. You for what ever reason gave me the Linux version. I downloaded the windows version and ran the well known "Hello world" script. Thank you. Oh... I thought you needed a linux version... Quote if I install the program the instructor gave me on my 32bit Linux machine Also, Windows 64-bit can run 32-bit programs so there is no need to be "picky"... the compiler GENERATES the same java bytecode either way. Quote Oh... I thought you needed a Linux version... I see how you were confused. I just meant as a last RESORT. Quote Also, Windows 64-bit can run 32-bit programs so there is no need to be "picky"... the compiler generates the same java bytecode either way. I know that but with everyone (In my class) saying that there was not a 64bit compiler and then when I tried to download it, it would not download for some reason I thought it was true. I will run eclipse buy my instructor to see what he thinks. It is really nice since it is portable.I was using eclipse and then closed it. A few minutes later I tried to OPEN it again and this popped up. What happend to make it stop working? EDIT It decided to start working again, but if you know why it stopped then please post so I can provent it in the future [Saving space, attachment deleted by admin] |
|