tdocs2 Well-Known Member Licensed User Longtime User Aug 12, 2015 #1 Greetings. I seem to have a problem with a B4J app that I use to "test and experiment". The package name is swi.testx (also tried testx TestX) and the jar is results.jar. What am I doing wrong? I seem to have this problem only with this app... Thank you. Sandy
Greetings. I seem to have a problem with a B4J app that I use to "test and experiment". The package name is swi.testx (also tried testx TestX) and the jar is results.jar. What am I doing wrong? I seem to have this problem only with this app... Thank you. Sandy
giga Well-Known Member Licensed User Longtime User Aug 12, 2015 #2 Package name is not where the name of the .jar comes from. Save the project to the desired name at the beginning of creation example as testx (or whatever) then compile it at the end and it will create testx.jar or whatever you named the project. Last edited: Aug 13, 2015 Upvote 0
Package name is not where the name of the .jar comes from. Save the project to the desired name at the beginning of creation example as testx (or whatever) then compile it at the end and it will create testx.jar or whatever you named the project.
tdocs2 Well-Known Member Licensed User Longtime User Aug 13, 2015 #3 giga said: Package name is not where the name of the .jar comes from. Save the project to the desired name at the beginning of creation example as testx (or whatever) then compile it at the end and it will create testx.jar or whatever you named the project. Click to expand... Thank you, giga. This is the project folder.... Where did result.jar come from? And then, what is the purpose for package name? Upvote 0
giga said: Package name is not where the name of the .jar comes from. Save the project to the desired name at the beginning of creation example as testx (or whatever) then compile it at the end and it will create testx.jar or whatever you named the project. Click to expand... Thank you, giga. This is the project folder.... Where did result.jar come from? And then, what is the purpose for package name?
tdocs2 Well-Known Member Licensed User Longtime User Aug 13, 2015 #4 Hi, giga. The leading zero seems to be the issue - that is why I was having problems with this app only.... I renamed the b4j to testx and it works as expected... It was your heads up that led me to the solution - thank you. What is the purpose of package name? Sandy Upvote 0
Hi, giga. The leading zero seems to be the issue - that is why I was having problems with this app only.... I renamed the b4j to testx and it works as expected... It was your heads up that led me to the solution - thank you. What is the purpose of package name? Sandy
giga Well-Known Member Licensed User Longtime User Aug 13, 2015 #5 Glad you figured that out. I have never tried with a number first and a space. All of mine have be alphabetic characters package name is used to differentiate your project(app) from others and assist in the import process(if you needed). example: https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html Upvote 0
Glad you figured that out. I have never tried with a number first and a space. All of mine have be alphabetic characters package name is used to differentiate your project(app) from others and assist in the import process(if you needed). example: https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html