Click here to Skip to main content
15,881,588 members
Home / Discussions / Java
   

Java

 
QuestionProblem in java pattern program Pin
Shashank Singh Sep202228-Sep-22 5:53
Shashank Singh Sep202228-Sep-22 5:53 
AnswerRe: Problem in java pattern program Pin
Richard MacCutchan28-Sep-22 6:22
mveRichard MacCutchan28-Sep-22 6:22 
QuestionWrite a Java program to print the division of certificate. The division is determined as follows: Rate from 0 to less than 2:"Fail" Rate from 2 to less than 3:"Third" Rate from 3 to less than 4:"Second" Rate from 4 to 5:"First" Pin
Member 1576643824-Sep-22 9:58
Member 1576643824-Sep-22 9:58 
AnswerRe: Write a Java program to print the division of certificate. The division is determined as follows: Rate from 0 to less than 2:"Fail" Rate from 2 to less than 3:"Third" Rate from 3 to less than 4:"Second" Rate from 4 to 5:"First" Pin
Victor Nijegorodov24-Sep-22 21:40
Victor Nijegorodov24-Sep-22 21:40 
AnswerRe: Write a Java program to print the division of certificate. The division is determined as follows: Rate from 0 to less than 2:"Fail" Rate from 2 to less than 3:"Third" Rate from 3 to less than 4:"Second" Rate from 4 to 5:"First" Pin
Richard MacCutchan25-Sep-22 3:46
mveRichard MacCutchan25-Sep-22 3:46 
GeneralRe: Write a Java program to print the division of certificate. The division is determined as follows: Rate from 0 to less than 2:"Fail" Rate from 2 to less than 3:"Third" Rate from 3 to less than 4:"Second" Rate from 4 to 5:"First" Pin
Richard Deeming25-Sep-22 21:25
mveRichard Deeming25-Sep-22 21:25 
GeneralRe: Write a Java program to print the division of certificate. The division is determined as follows: Rate from 0 to less than 2:"Fail" Rate from 2 to less than 3:"Third" Rate from 3 to less than 4:"Second" Rate from 4 to 5:"First" Pin
Richard MacCutchan25-Sep-22 22:09
mveRichard MacCutchan25-Sep-22 22:09 
QuestionHow to package Jar by copying ONLY USED classes from onother jar ?! Pin
jimakoskx18-Sep-22 17:48
jimakoskx18-Sep-22 17:48 
Hi all,
I am just an amateur javac user, buidling occasionally some simple applications.
Meaning i dont know much of programming generally.
I will try to express my problem as quick and clearly.
Here it is.
I am using Netbeans.
I have a 'jimakoskx' Project trying to have there all my succesful/interesting classes
that occasionally i may write....in years.
Like my library Project.
Lets say i have there a 'mess' of 200 classes
(library classes meaning some of them importing 'some of them' ..others may be independent etc)
----
Now lets say that a friend ask me a simple application.
And because of my Library Project i am ready to finish this application
by just
a)Create a new Project
b)Import the Library project (Properties->Libraries->add)
.......(Copy dependencies because i want to give the 'client' the jar file )
c)easy write the new application
...
My problem is NOT that i must give to client
the FOLDER containing the application.jar and the library jar.
Ok..even if there be some solution ...this is not what made me come here to ask.
My problem and my question is the following.
My application jar use lets say only 1 class of my library jar.
But because the library jar lets say is 2 MB
then i am distributing (for the application) 2 MB (by importing library)
...plus...some KB of the actual ('new') application.

Now...if this is a big problem .....i can solve this
either by manually copy the interesting classes from library to actual project
either by ...(lets say i have nothing to do)...by creating a program that do it for me.

And the question is ...
Is there a way doing this in Netbeans ???

Thank in advance...

modified 19-Sep-22 4:51am.

AnswerRe: How to package Jar by copying ONLY USED classes from onother jar ?! Pin
jschell23-Oct-22 11:30
jschell23-Oct-22 11:30 
QuestionJava program project using netbeans Pin
Member 1576471312-Sep-22 0:20
Member 1576471312-Sep-22 0:20 
AnswerRe: Java program project using netbeans Pin
Dave Kreskowiak12-Sep-22 1:21
mveDave Kreskowiak12-Sep-22 1:21 
GeneralRe: Java program project using netbeans Pin
Gerry Schmitz12-Sep-22 6:27
mveGerry Schmitz12-Sep-22 6:27 
QuestionSocket connection offline vs busy Pin
JohnCodding9-Aug-22 20:26
JohnCodding9-Aug-22 20:26 
AnswerRe: Socket connection offline vs busy Pin
Richard MacCutchan9-Aug-22 21:03
mveRichard MacCutchan9-Aug-22 21:03 
GeneralRe: Socket connection offline vs busy Pin
JohnCodding9-Aug-22 21:10
JohnCodding9-Aug-22 21:10 
GeneralRe: Socket connection offline vs busy Pin
Richard MacCutchan9-Aug-22 21:12
mveRichard MacCutchan9-Aug-22 21:12 
GeneralRe: Socket connection offline vs busy Pin
Richard MacCutchan9-Aug-22 21:17
mveRichard MacCutchan9-Aug-22 21:17 
GeneralRe: Socket connection offline vs busy Pin
JohnCodding9-Aug-22 21:36
JohnCodding9-Aug-22 21:36 
GeneralRe: Socket connection offline vs busy Pin
Richard MacCutchan9-Aug-22 21:45
mveRichard MacCutchan9-Aug-22 21:45 
AnswerRe: Socket connection offline vs busy Pin
Gerry Schmitz10-Aug-22 4:13
mveGerry Schmitz10-Aug-22 4:13 
AnswerRe: Socket connection offline vs busy Pin
englebart12-Oct-22 15:20
professionalenglebart12-Oct-22 15:20 
QuestionUser Path not working until computer restart Pin
Valentinor13-Jul-22 9:27
Valentinor13-Jul-22 9:27 
AnswerRe: User Path not working until computer restart Pin
Valentinor13-Jul-22 23:28
Valentinor13-Jul-22 23:28 
AnswerRe: User Path not working until computer restart Pin
englebart12-Oct-22 15:26
professionalenglebart12-Oct-22 15:26 
QuestionDistribute software that uses Java Pin
Valentinor7-Jul-22 9:28
Valentinor7-Jul-22 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.