Notice: Undefined offset: 13834289 in /var/www/html/qa-external/qa-external-users.php on line 744
How to download .class file? - OnlineGDB Q&A
Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to download .class file?

+26 votes
asked Nov 3, 2024 by Sarah Levanah (230 points)
How do I compile and download a .class file for java?

1 Answer

0 votes
answered Nov 5, 2024 by Peter Minarik (101,420 points)
OnlineGDB is running on a remote server. The compilation, linking, and execution of the applications all happen on a remote server. For this, there is no convenient way to access your build output.

You can download the Java Development Kit (JDK) to your own PC and compile your code locally. This way you'll have direct access to the output: https://www.oracle.com/au/java/technologies/downloads/
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...