Search found 13 matches

by lanzi
Tue Jan 22, 2019 4:28 am
Forum: Solutions
Topic: About the method of executing scripts under LINUX to get the script path
Replies: 1
Views: 137

Re: About the method of executing scripts under LINUX to get the script path

How to get the path of the script in the SHELL script, as shown below:
SH_PATH = $(cd`dirname $0`;pwd)

Mean by cd `dirname $0` into the script in the path, and then execute the pwd command, can obtain the script in the path.
by lanzi
Tue Jan 22, 2019 4:27 am
Forum: Solutions
Topic: About the method of executing scripts under LINUX to get the script path
Replies: 1
Views: 137

About the method of executing scripts under LINUX to get the script path

Usually, under LINUX SHELL script execution, a lot of people often use the pwd command, most people think that can get to where the script path through this command, in fact this is a myth, the pwd command can only access to the current, script execution path, only when the execution of the SHELL sc...
by lanzi
Thu Jan 17, 2019 5:14 am
Forum: Other Tools
Topic: How does JAVA adjust C(JNA)?
Replies: 7
Views: 435

Re: How does JAVA adjust C(JNA)?

This approach to JAVA calling C is much simpler than JNI development. But there is a big performance cost, which is to say, jna is much slower than jni in terms of program performance. So while jni can be a pain in the neck to develop and process data type conversions, it can be used in situations ...
by lanzi
Thu Jan 17, 2019 5:14 am
Forum: Other Tools
Topic: How does JAVA adjust C(JNA)?
Replies: 7
Views: 435

Re: How does JAVA adjust C(JNA)?

This approach to JAVA calling C is much simpler than JNI development. But there is a big performance cost, which is to say, jna is much slower than jni in terms of program performance. So while jni can be a pain in the neck to develop and process data type conversions, it can be used in situations ...
by lanzi
Mon Jan 14, 2019 10:33 pm
Forum: Questions & Answers
Topic: Can UAF be used in conjunction with a JAVA card?
Replies: 4
Views: 282

Re: Can UAF be used in conjunction with a JAVA card?

newbiecat wrote:
Mon Jan 14, 2019 3:51 am
what is UAF ...?
Universal Authentication Framework (UAF):In simple terms, UAF helps users to complete online user authentication or transaction authorization with the help of asymmetric encryption algorithm;
For example: fingerprints、face recognition、voice print、PIN code, etc
by lanzi
Mon Jan 14, 2019 10:33 pm
Forum: Questions & Answers
Topic: Can UAF be used in conjunction with a JAVA card?
Replies: 4
Views: 282

Re: Can UAF be used in conjunction with a JAVA card?

kuafu wrote:
Mon Jan 14, 2019 7:21 pm
lanzi wrote:
Mon Jan 14, 2019 2:16 am
May I ask whether the UAF and JAVA CARDS can be combined together :?:
yes,there is fingerprint card , which install fido apple。
Ok, thank you
by lanzi
Mon Jan 14, 2019 2:26 am
Forum: Other Tools
Topic: How does JAVA adjust C(JNA)?
Replies: 7
Views: 435

Re: How does JAVA adjust C(JNA)?

Very nice, very good summary,That's great!!!
by lanzi
Mon Jan 14, 2019 2:22 am
Forum: Solutions
Topic: JAVA Memory overflow solution
Replies: 2
Views: 166

Re: JAVA Memory overflow solution

Solution: - XX: CMSInitiatingOccupancyFraction When heaped, the parallel collector begins garbage collection, for example, when there is not enough space to accommodate newly allocated or promoted objects. With a CMS collector, long waits are undesirable because the application is running continuous...
by lanzi
Mon Jan 14, 2019 2:21 am
Forum: Solutions
Topic: JAVA Memory overflow solution
Replies: 2
Views: 166

Re: JAVA Memory overflow solution

3、Basic knowledge of JVM heap memory The JVM Heap memory is divided into two blocks: Permanent Space and Heap Space. Permanent, the Permanent Generation, mainly stores Java class definition information and has little to do with the Java objects the garbage collector is collecting. Heap = {Old + NEW ...
by lanzi
Mon Jan 14, 2019 2:20 am
Forum: Solutions
Topic: JAVA Memory overflow solution
Replies: 2
Views: 166

JAVA Memory overflow solution

1、Question: Log in Java. Lang. OutOfMemoryError: Java heap space. 2、Problem analysis Java. Lang. OutOfMemoryError: Java heap spaceHeap set the JVM heap size setting refers to the Java program is running process used to reach the JVM can allocate memory Settings. The JVM heap size is automatically as...
JavaCard OS : Disclaimer