Click here to Skip to main content
14,333,606 members
   

Java

 
AnswerRe: Guide me in right direction to learn Java Card Pin
Anushkasharma105-Jul-18 21:17
memberAnushkasharma105-Jul-18 21:17 
AnswerRe: Guide me in right direction to learn Java Card Pin
Hackr.io27-Jul-18 2:20
professionalHackr.io27-Jul-18 2:20 
QuestionJava C header dll [SOLVED] Pin
Valentinor6-Jun-18 22:06
memberValentinor6-Jun-18 22:06 
AnswerRe: Java C header dll Pin
Richard MacCutchan6-Jun-18 22:19
protectorRichard MacCutchan6-Jun-18 22:19 
GeneralRe: Java C header dll Pin
Valentinor6-Jun-18 22:24
memberValentinor6-Jun-18 22:24 
GeneralRe: Java C header dll Pin
Richard MacCutchan6-Jun-18 22:28
protectorRichard MacCutchan6-Jun-18 22:28 
GeneralRe: Java C header dll Pin
Valentinor6-Jun-18 22:46
memberValentinor6-Jun-18 22:46 
GeneralRe: Java C header dll Pin
jschell9-Jun-18 7:00
memberjschell9-Jun-18 7:00 
Most people will not go to a site to look at your code.

First, using a native library in Java is dangerous. It is not something I will ever do again because if the native library fails it causes the VM to exit and that is not viable in server developer. You can achieve the same functionality using an external executable and accessing via any number of methods such as stdin/out, files, sockets or even running it as a true service (http, rest, etc)

Second the requirement for a accessing a native library in java
1. The native library must be loaded into the VM
2. The definition must match EXACTLY with the expected classes in the native library. Changes to packages, methods, parameters, access, etc, all require regenerating the api, recompiling and building a new native library.

It is possible to validate that a native library loads (1 above) and this should ALWAYS be verified. Methods should be wrapped in a proxy class so that that mismatches (2) can be captured an properly reported as being mismatches.

Valentinor wrote:
only 1 character differs.


Nothing can be different.
GeneralRe: Java C header dll Pin
Valentinor9-Jun-18 10:38
memberValentinor9-Jun-18 10:38 
QuestionConsole javac -h errors [SOLVED] Pin
Valentinor6-Jun-18 7:23
memberValentinor6-Jun-18 7:23 
AnswerRe: Console javac -h errors Pin
Richard MacCutchan6-Jun-18 11:18
protectorRichard MacCutchan6-Jun-18 11:18 
GeneralRe: Console javac -h errors Pin
Valentinor6-Jun-18 20:35
memberValentinor6-Jun-18 20:35 
GeneralRe: Console javac -h errors Pin
Valentinor6-Jun-18 21:08
memberValentinor6-Jun-18 21:08 
GeneralRe: Console javac -h errors Pin
Richard MacCutchan6-Jun-18 21:50
protectorRichard MacCutchan6-Jun-18 21:50 
GeneralRe: Console javac -h errors Pin
Valentinor6-Jun-18 22:01
memberValentinor6-Jun-18 22:01 
GeneralRe: Console javac -h errors Pin
Richard MacCutchan6-Jun-18 22:18
protectorRichard MacCutchan6-Jun-18 22:18 
GeneralRe: Console javac -h errors Pin
Valentinor6-Jun-18 23:02
memberValentinor6-Jun-18 23:02 
AnswerRe: Console javac -h errors SOLUTION Pin
Valentinor6-Jun-18 23:27
memberValentinor6-Jun-18 23:27 
Questioncounting hand fingers in an image Pin
Member 138550241-Jun-18 16:26
memberMember 138550241-Jun-18 16:26 
AnswerRe: counting hand fingers in an image Pin
Richard MacCutchan2-Jun-18 0:22
protectorRichard MacCutchan2-Jun-18 0:22 
Questionhow to start learning java Pin
Member 1383037827-May-18 23:23
memberMember 1383037827-May-18 23:23 
AnswerRe: how to start learning java Pin
Richard MacCutchan28-May-18 22:16
protectorRichard MacCutchan28-May-18 22:16 
QuestionNeed help choosing test API Pin
Member 1384132023-May-18 8:37
memberMember 1384132023-May-18 8:37 
AnswerRe: Error in Integer mode Pin
Richard MacCutchan10-May-18 1:16
protectorRichard MacCutchan10-May-18 1:16 
GeneralRe: Error in Integer mode Pin
Richard Deeming10-May-18 1:26
mveRichard Deeming10-May-18 1:26 

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.