UNIX Java Compiler on Windows


 
Thread Tools Search this Thread
Top Forums Programming UNIX Java Compiler on Windows
# 1  
Old 10-22-2008
UNIX Java Compiler on Windows

At work we use HP-UX B.11.11 U (garnished from uname -a), but they have not installed a development environment for java. There is, however, a runtime environment set up. I've been attempting to overcome the beauracracy of getting a jdk installed, but we all know how nearly impossible that can be. My question is: Is there any compiler out there that can compile .class files for a UNIX box, but done on a Windows machine? Like an emulator of sorts? If I can just get the proper .class files, I should be able to at least run the programs on UNIX. I don't think they'd like me to install my own jdk, which takes up about 670 MB.
# 2  
Old 10-22-2008
On your windows box you can install cygwin - it runs RH linux as a guest operating system - linux. There are all kinds of java environments avaialble for it - Eclipse comes to mind. All free and as long as you have several GB of free disk to throw at this project it may meet your needs. I dunno.

Cygwin Information and Installation
# 3  
Old 10-23-2008
Java's .class files are platform independend. You can compile the .java files on any machine with any jdk version to .class files and use them there. Just install the jdk for windows on your windows machine.
# 4  
Old 10-23-2008
Quote:
Originally Posted by jim mcnamara
On your windows box you can install cygwin - it runs RH linux as a guest operating system - linux.
It doesn't really. Cygwin provides a Gnu/Linux like environment to Windows by implementing a compatibility layer. It doesn't run a guest OS so Linux binaries won't run there.
# 5  
Old 10-24-2008
Thanks, calv. You hit the nail on the head. For some reason I thought .java files had to be compiled on the architecture being used. But it's the JVM that interprets the .class files.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

how can I get to know what threads run within process java.exe on windows

I am writing java application on windows. There are more than 100 threads run within java.exe. I want to know what threads run within process java.exe so that I can find out if there are abnormal java threads. (4 Replies)
Discussion started by: mika
4 Replies

2. UNIX for Dummies Questions & Answers

Munch in Unix compiler

Hi, While compiling C,C++ files in Unix i came across Munch. Need more details on it. Thanks all (6 Replies)
Discussion started by: amutharaj
6 Replies

3. UNIX for Advanced & Expert Users

how to design compiler for unix os

i have to design a compiler for unix os can anybody help me out to solve this problem (0 Replies)
Discussion started by: masumhisaria
0 Replies

4. Programming

Solaris C Compiler for Unix Enviroment ?

Hello! Can somebody tell my where to find Solaris C compiler for Unix environment? Is it available anywhere on the net for free download ? Thank you for your help! :( (3 Replies)
Discussion started by: krasy
3 Replies

5. Programming

Doubts About C Compiler In Unix/linux

As all of you know whenever a program "say a.c" is complied in linux using the gcc or the cc compiler..it shows the list of errors ( if the program contains any).. i want to modify the compier script so as to list the no of errors only and not the description about the error..like" parse error " ... (1 Reply)
Discussion started by: vrs
1 Replies

6. UNIX for Dummies Questions & Answers

ANSI C compiler on UNIX

Hi, I run into an error message like this (Bundled]) cc: "flat.c", line 350: error 1705: Function prototypes are an ANSI feature.' Also when trying to compile with -Aa or -Ae options I get (Bundled) cc:warning 480: The -A option is available only with the C/ANSI C product; ignored. Is that... (1 Reply)
Discussion started by: elenav
1 Replies

7. Linux

Windows C++ compiler for Linux

Does anyone here know of any good windows c++ compiler for linux? so that I can compile c++ programs in Linux (this is very possible!). Doesnt mather if it is a real windows compiler that works in wine or if its a compiler written for linux but compiles windows binaries (4 Replies)
Discussion started by: Kimm
4 Replies

8. Programming

How to get UNIX and C Compiler

Hi, I have to do a project in UNIX OS using a C/C++ compiler. I'm familiar with C/C++, but only in Windows. I wanted to know: 1. Where can I download a UNIX OS? (I already have a Windows XP on and I don't want to loose it) 2. Where can I download a C/C++ compiler for the UNIX OS? 3. Any tips... (0 Replies)
Discussion started by: ahkonline
0 Replies

9. UNIX for Dummies Questions & Answers

HELP! UNIX AIX IBM C Compiler!

I currently have an IBM AIX UNIX MACHINE WITH VERSION 4 operating system. Already installed is a 3.1.4 version of the C Compiler that comes with the package. For the longest time this software ran fine until we changed our Company server and the IP addresses were changed. Now when the... (2 Replies)
Discussion started by: bobarob
2 Replies
Login or Register to Ask a Question