answersLogoWhite

0


Best Answer

Show activity on this post.

  1. Go to the path where you saved the java file you want to compile.

  2. Replace path by typing cmd and press enter.

  3. Command Prompt Directory will pop up containing the path file like C:/blah/blah/foldercontainJava.

  4. Enter javac javafile.java.

  5. Press Enter. It will automatically generate java class file.

To learn more about data science please visit- Learnbay.co

User Avatar

Learn bay

Lvl 8
2y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Yes, as long as you have Java installed you will be able to run it on a computer running UNIX.

The whole idea of Java - one of the ideas - is to be able to run on multiple platforms.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can Java class files run on UNIX system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the main difference between UNIX and JAVA?

Unix is an operating system, Java is a language.


What is the system file in Unix?

There is no the system file. There are many files necessary to create a working Unix system.


How do you transfer files from unix to windows?

Unix files can be easily transferred to windows via a network connection either by using FTP or by using Samba. Samba allows a Unix file system to be mounted/shared on a Windows system to look like a windows directory.


What directory contains the kernel and other system initialization files on unix-type system?

/boot


What is the most popular ways for sharing files under UNIX?

For Unix systems that are only talking to other Unix systems NFS (Network File System) is the most popular. If you want to share Unix files with Windows systems, then Samba is one of the most popular ways to accomplish this.


In Unix-like operating systems what does 'unlink' do?

Unix-like operating systems are used to save files on a computer operating system. When using this type of system, to unlink a file means to erase or delete it.


How can you recover the overwritten files in SCO Unix HTFS file system?

AnswerRecovering any 'deleted' and/or 'overwritten' file in a typical Unix system is problematic and much more difficult to do reliably than it is with, say, a typical Windows system. This is a function of the way the files are stored on a Unix system, not a problem with, or feature of, the operating system itself. I suggest you obtain and study Wietse Venema's TCT (The Coroner's Toolkit) for further information. [JMH]


How android is better than java?

This is not really a good comparison. It's like asking if a telephone is better than a TV. OK, well Android is an operating system, based on Linux (similar to Unix). Java is a programming language - a set of rules that programmers use to create the programs (apps). The operating system controls the basic functions and how the phone (or tablet) interacts with files and the user.


Explain the concept of privileges and its significance in unix?

Privileges, in regards to computer science terms, are permissions granted by a system to allow certain data or files to be accessed or used. In UNIX, all files and data are assigned a set of permissions by the system. The files or data can be read, modified, and executed depending on the set of permissions assigned to the user.


Who is Unix work performed by?

Unix work is performed by users of the unix system, for application and system programs, or anything that requires a Unix system.


What is the file system for unix?

Being the well known entity files are, files are also called "regular files" to distinguish them from "special files". They show up in ls -l without a specific character in the mode field:


What is the significance of home directory in Unix file system?

It's where all settings, documents, private files, etc. are located.