Followed These Steps:-
1:Downlaod jcreator
2: download jdk
3:make a project class in the src folder .
4:Go to run then type cmd.
5:a black box should open.
If its in a different drive type the letter of the drive where it is saved plus : no \.
It shold be on that drive type dir to see whats in the drive.
Once you found your project type CD thenameofyourproject.
it should say thename of your drive then the name of your project next to it.
type CD src it should look the same bu with src next to it.
type dir to see what you've made.
5:You will have to make the .class file now.
The way to do that is type javac the name of your src project.java.
If it says some kind of error do this (you must hava jdk installed) type where you downloaded your jdk like this my one was in program files and called jdk i would do this.
C:\ProgramFiles\jdk\bin\javac name of your src .java.
if that dosent work sorry but it always does.
if you've made no errors you should have a .class file.
6:Almost done.
now you must have jdk, type jar cfe what ever you want to name it.jar name of your src class without the.class name of your src class with the class so myne would be like.
(my one was called bc.class)
jar cfe Backroundcolours.jar bc bc.class. hit enter and done if it shows a sort of error do the same thing you did to make the .class.
C:\ProgramFiles\jdk\bin\jar cfe Backroundcolours.jar bc bc.class. hit ener and done.
"Thanks for reading"
Comments
Post a Comment