Đã hoàn thành

Running a Simple Hello World Java Jar File

I am a C# developer and have no Java knowledge as such I need your help. I need someone to teach me how to run a jar file in cmd.

I have a hello world java project that uses Maven (maven is not necessary here) using Visual Studio Code:

package [login to view URL];

public class App {

public static void main(String[] args) {

[login to view URL]("Hello World!");



I then used the plugin called "Build Jar" to compile the code into a jar file.

In the [login to view URL] file I also put:


<!-- Build an executable JAR -->

<groupId>[login to view URL]</groupId>






<mainClass>[login to view URL]</mainClass>





When I use >java -jar [login to view URL] it returned: "no main manifest attribute, in [login to view URL]"

When I use java -classpath [login to view URL] [login to view URL], it returned: "Error: Could not find or load main class [login to view URL]".

I need someone to help me compile in Visual Studio code & run the jar file in cmd hence I have this simple task. It should be easy enough for an experienced Java developer to tell me how to do it.

The solution has to run on Windows 10, Visual Studio Code (sorry I don’t do Ellipse I am a Windows guy)


Kĩ năng: Java

Xem nhiều hơn: convert jar file java code, convert java classes jar file, executing java jar file perl script, can convert code java jar file, perl lnline java jar file, use java jar file perl, java jar file application mobile, java jar file application site mobile, example mobile application java jar file, deobfuscate java jar file, create a java jar file, mysql connector java jar file download, selenium java jar file download, error in pom.xml file in eclipse, how to get a path to a resource in a java jar file, java -jar file location

Về Bên Thuê:
( 0 nhận xét ) London, United Kingdom

ID dự án: #30939253

Được trao cho:


Hey, I can start now to help you on creating and running the Jar file. Let's chat and finish it immediately. I have worked on Java projects for building Web Applications using Java Spring Framework, Spring Boot, Sprin Thêm

£10 GBP trong 1 ngày
(127 Đánh Giá)

22 freelancer chào giá trung bình£15 cho công việc này


why dont you compile just using the command javac ? You dont need any IDE to compile I think. Let me know

£30 GBP trong 2 ngày
(52 Nhận xét)

Thanks for posting " Running a Simple Hello World Java Jar File " project My name is Avin, an experienced app, web and software developer with many years of experience, you can read my profile and notice my qualificati Thêm

£10 GBP trong 1 ngày
(42 Nhận xét)

Hello, Warm Greetings! I am a Java developer working on Java technology since 7+ years having hands on windows and web development experience. I would like to help in your application development. To proceed further, Thêm

£20 GBP trong 1 ngày
(73 Nhận xét)

Hi Greetings Experienced with developing applications with maven and visual stuideo code as ide Please inform further details i will help to resolve the issue I see issue in your maven Thanks

£15 GBP trong 1 ngày
(48 Nhận xét)

Let's start NOW Thêm

£10 GBP trong 1 ngày
(17 Nhận xét)

Hi, Hope you are doing well, I went through your requirements, I am pretty much confident that I can complete this task as I have done similar kind of projects already I have 10+ years’ hands on experience in software Thêm

£24 GBP trong 1 ngày
(24 Nhận xét)

I can help you with this project. Let's discuss more details in private. Looking forward to working with you!

£20 GBP trong 1 ngày
(21 Nhận xét)

Hi, I am a professional programmer and trader and will give you the best work I have innovative tech mind with 10 years of experience working as a computer programmer. Capable of working with a variety of technology an Thêm

£15 GBP trong 1 ngày
(2 Nhận xét)

I'm glad to bid to this project Check [login to view URL] , [login to view URL] ,[login to view URL] and [login to view URL] develop spring boot+hibernate+ payment gateway integration develop by me. [login to view URL] Thêm

£20 GBP trong 7 ngày
(7 Nhận xét)

Hi, I have around 16 years of experience in Java..please let me know when I can start Regards [login to view URL]

£10 GBP trong 1 ngày
(9 Nhận xét)

Hi, It seems a very interesting project for me. I have a deep understanding and experience in the areas of Java, ************************************************************************* I've also worked on several sim Thêm

£15 GBP trong 1 ngày
(2 Nhận xét)

★★★★★ JAVA EXPERT ★★★★★ Hello, there? I can start right now. I have read your description. I am appropriate to your description. I am full-stack, full-time senior developer and have rich experience with the similar pro Thêm

£15 GBP trong 1 ngày
(0 Nhận xét)

Hello, there I have read your project description and have found the SOLUTION. PLEASE create milestone and award me. I can complete your task within 30 minutes. Thanks.

£15 GBP trong 7 ngày
(0 Nhận xét)

Hello I have good experiences for JAVA coding. I can do it in a few hours, please contact with me and start work Thank You

£15 GBP trong 1 ngày
(0 Nhận xét)

Hi my friend, I am an software engineer with several experience years in Java. I am new with Freelancer and I want to earn jobs for my profile. I can help you for free if you want.

£10 GBP trong 1 ngày
(0 Nhận xét)

I can definitely help you as i have understood the issue and help you with teaching and providing necessary resolution within stipulated time frame and in cost effective manner

£10 GBP trong 1 ngày
(0 Nhận xét)

I can able to help you please reach me for further discussion. I have a good knowledge on java development.

£20 GBP trong 1 ngày
(0 Nhận xét)

Hi Recruiter, I'm Ajay Bondugula . I've a good enough knoweldge on Java and IDE's So, that I will definitely helps you to get it. Hope you're like it . Thanks, Ajay Bondugula.

£15 GBP trong 1 ngày
(0 Nhận xét)

Hi I am a java developer, recently created web-app in spring-boot. I can help you with this project. Looking forward to working with you. With regards Keshav

£10 GBP trong 2 ngày
(0 Nhận xét)

Hi, I'll do it for free, just send me a message when you can and I'll help you. You need the Java jdk installed on you system. Then proceed to download the Microsoft Java extension pack in vs code. This will allow you Thêm

£10 GBP trong 1 ngày
(0 Nhận xét)