Click here to Skip to main content
15,850,299 members
Home / Discussions / Java
   

Java

 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Ralf Meier8-Nov-23 9:02
professionalRalf Meier8-Nov-23 9:02 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Dave Kreskowiak8-Nov-23 3:23
mveDave Kreskowiak8-Nov-23 3:23 
QuestionHow to use JNI without setting Environment Variables Pin
Valentinor16-Oct-23 1:54
Valentinor16-Oct-23 1:54 
AnswerRe: How to use JNI without setting Environment Variables Pin
Valentinor16-Oct-23 2:42
Valentinor16-Oct-23 2:42 
AnswerRe: How to use JNI without setting Environment Variables Pin
jschell16-Oct-23 5:58
jschell16-Oct-23 5:58 
GeneralRe: How to use JNI without setting Environment Variables Pin
Valentinor16-Oct-23 6:41
Valentinor16-Oct-23 6:41 
GeneralRe: How to use JNI without setting Environment Variables Pin
jschell17-Oct-23 6:47
jschell17-Oct-23 6:47 
GeneralRe: How to use JNI without setting Environment Variables Pin
Valentinor17-Oct-23 20:26
Valentinor17-Oct-23 20:26 
jschell wrote:
1. Lay down the files into the file system.

Yes or no, depending what you mean by "file system". When the app is installed, inside it's folder structure it will also have Eclipse Adoptium (...\MyApp\ThirdParty\Eclipse Adoptium\jre-17.0.7.7-hotspot)
jschell wrote:
2. Create the registry data so the user can uninstall it.

It will be for the app itself and not just for java, as Eclipse Adoptium will be a part of the app, integrated into it, and not separate. When the app is uninstalled, so will Eclipse Adoptium as it is part of its files. If the user has any other form of Java installed, they won't be affected in any way.
jschell wrote:
So apparently what you are actually doing is giving the user the option to use the Java that is already installed or to use the VM that comes with your application.

No. The app will only use Java that comes with it, as the app won't even look in another location if Java is installed, only inside it's file structure.
jschell wrote:
whether the VM they have installed is the correct version for your appliction

I explained in the above statement why this doesn't matter for my case.
jschell wrote:
As a suggestion only you might want to work on your error handling if it turns out Java isn't installed. Telling a user that a dll is missing is not going to help them nor you when they ask why it isn't working.

I never said that I don't have an error handling system already added. If any of Java files are missing or are corrupted, or any of the other app files are missing or are corrupted, an error will appear telling the user to run the check for corrupted files or reinstall the app, accompanied by an error message, that will tell me exactly which file is the problem, if it is missing or if it is corrupted.
QuestionSending file though socket as byte[] Pin
JohnCodding25-Sep-23 21:52
JohnCodding25-Sep-23 21:52 
GeneralRe: Sending file though socket as byte[] Pin
JohnCodding25-Sep-23 22:33
JohnCodding25-Sep-23 22:33 
GeneralRe: Sending file though socket as byte[] Pin
Richard MacCutchan25-Sep-23 23:32
mveRichard MacCutchan25-Sep-23 23:32 
GeneralRe: Sending file though socket as byte[] Pin
JohnCodding26-Sep-23 0:44
JohnCodding26-Sep-23 0:44 
GeneralRe: Sending file though socket as byte[] Pin
Richard MacCutchan26-Sep-23 0:58
mveRichard MacCutchan26-Sep-23 0:58 
GeneralRe: Sending file though socket as byte[] Pin
JohnCodding26-Sep-23 1:53
JohnCodding26-Sep-23 1:53 
GeneralRe: Sending file though socket as byte[] Pin
jschell3-Oct-23 5:42
jschell3-Oct-23 5:42 
GeneralRe: Sending file though socket as byte[] Pin
JohnCodding13-Oct-23 0:35
JohnCodding13-Oct-23 0:35 
GeneralRe: Sending file though socket as byte[] Pin
jschell13-Oct-23 8:19
jschell13-Oct-23 8:19 
Question[Solved] Getting and setting a File's all attributes Pin
Valentinor24-Sep-23 23:47
Valentinor24-Sep-23 23:47 
AnswerRe: Getting and setting a File's all attributes Pin
Victor Nijegorodov25-Sep-23 0:04
Victor Nijegorodov25-Sep-23 0:04 
GeneralRe: Getting and setting a File's all attributes Pin
Valentinor25-Sep-23 0:17
Valentinor25-Sep-23 0:17 
Answer[Solution] Re: Getting and setting a File's all attributes Pin
Valentinor25-Sep-23 7:26
Valentinor25-Sep-23 7:26 
QuestionGetting java.lang.RuntimeException: ZeroCode Step execution failed. Details:java.lang.NullP Pin
Member 160852744-Sep-23 6:46
Member 160852744-Sep-23 6:46 
AnswerRe: Getting java.lang.RuntimeException: ZeroCode Step execution failed. Details:java.lang.NullP Pin
Richard Deeming4-Sep-23 22:21
mveRichard Deeming4-Sep-23 22:21 
AnswerRe: Getting java.lang.RuntimeException: ZeroCode Step execution failed. Details:java.lang.NullP Pin
Member 160852745-Sep-23 0:55
Member 160852745-Sep-23 0:55 
GeneralRe: Getting java.lang.RuntimeException: ZeroCode Step execution failed. Details:java.lang.NullP Pin
Member 160852745-Sep-23 0:58
Member 160852745-Sep-23 0:58 

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.