hi ,
i am a new bee to linux and require help in compiling and running java programs in fedora8.
have i to install the jdk and the compile or run the program or .
i require help

Recommended Answers

All 2 Replies

You don't have to install anything more. Consider you have open a java file in vi editor namely "abc.java", then to compile it, you write "jacac abc.java" in command prompt. After that, to run, write "java abc", means only classname, no extension is necessary.

hi ,
i am a new bee to linux and require help in compiling and running java programs in fedora8.
have i to install the jdk and the compile or run the program or .
i require help

I have not yet used fedora 8 and I'm not sure whether it comes with java compiler installed. But for the various linux versions I have used, java compiler isn't there. Find the compiler and install it. You can download it at javasoft.com.

by Ronald Osure

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.