由买买提看人间百态

topics

全部话题 - 话题: jni
首页 上页 1 2 3 4 5 6 下页 末页 (共6页)
S**********n
发帖数: 264
1

Keep image data in native buffer all the time. .net/java manages meta data.
Only commands and pointers are passing to/from these two layers, probably
through JNI or C++/CLI. Threading could happen in java layer or native
layer. Usually, architects don't believe C++ developer's knowledge on
threading. As I said, this is standard practice in industry. Dealing with
data on GPU might be a little bit different.
For image data, even C++ containers are presumed to be bad. C, good old C,
rocks.... 阅读全帖
d****i
发帖数: 4809
2
来自主题: Programming版 - Sun当年设计Java的败笔
Sun当年设计Java的时候,最大的败笔是没有把JNI的接口好好设计,这样和跑在Native
层的native语言和script语言:C,C++,Python, Perl, PHP, Ruby, JS, 等等隔开了
一层避孕套,从JVM调用其他语言比较麻烦,使得凭空造出来所谓的JVM语言:scala,
clojure等等,反而像文革造反派一样威胁到Java的地位。其实JNI完全可以重新设计,
这样使得Java和其他Native层的语言的interoperatbility大大提高,有利于不同队伍
合作。
z****e
发帖数: 54598
3
来自主题: Programming版 - Sun当年设计Java的败笔
嗯,就是打算从jni开始搞破坏,用jni来捆绑java到win平台
m$当年大门当家时候,还是很有威胁性的,找软肋找得比较准确
后来sb当家,基本上就是一无脑的肥猴子乱搞
g*****g
发帖数: 34805
4
来自主题: Programming版 - Sun当年设计Java的败笔
JNI是给JDK跨平台用的,懂了这个,就没啥好纠结了。
JNI本来就不是打算给你用的。
d****i
发帖数: 4809
5
来自主题: Programming版 - Sun当年设计Java的败笔
真的是Sun的中国人设计的?呼唤oracle效仿.NET->Native的机制把JNI重新reengineer
。据说JDK 9有这个计划,把JNI重新设计,从而增加Java和其他native层上的语言的
interoperatbility
F****n
发帖数: 3271
6
来自主题: Programming版 - Sun当年设计Java的败笔
JNI最大的问题是native code和Java交换数据overhead过大,其他还好
这个问题是Java的数据结构造成的,比如一个Java int array有他自己的内存结构,
传到native code只好copy。但大多数此类为题可以通过恰当的design解决,如果要用
native code计算array, matrix, 就应该一开始就用native 数据结构(可以用JNI wrap
), 而不是pass Java array。

reengineer
z****e
发帖数: 54598
7
来自主题: Programming版 - java是最好的语言
怎么不支持了?
jni被华丽地无视了?
话说jni有那么难用么?
你也好歹google一下,没啥特别难的地方
g*****g
发帖数: 34805
8
来自主题: Programming版 - c++程序员不要把头埋在沙子里了
就算你需要off heap的内存,通常也不需要JNI,ByteBuffer够了。JDK和第三方类库,
有太多的轮子不需要你去写JNI。调JVM是有的,通常为了GC,节省内存不多见。事实上
为了GC快,通常都不给JVM设太大内存,而是用cluster,所以cloud上特别合适。

space
z****e
发帖数: 54598
9
来自主题: Programming版 - 我隐约记得一年前zhaoce同学还说
你们这帮老狗就是学不会新花招
给你再点拨点拨
当时告诉我amazon的是那个软轮大本
我没少骂他,在history这些版面
后来半海跟我解释了一下这些新兴领域和旧领域的关系
他总结就是
留下一部分人继续做
其他人转移到新领域中去
这个很有道理,我觉得应该如此
其实我也不是很喜欢web service,毕竟tomcat这些用习惯了,懒得改
但是没有办法,人要顺应时代,而不是反过来,好在也不算太麻烦
倒腾ws从无到有,也磕磕碰碰过来了,但是也算是赶上了时代
你看这些c++老狗们还在jni,哎
jni这种古老的东西居然跟现在这些东西凑在一起在说
有种穿越的感觉
d****i
发帖数: 4809
10
来自主题: Programming版 - akka能和C++程序通信吗?
If you don't want to have any overhead of IPC, then JNI is the best bet, or
if you don't want to write JNI wrapper function, then JNA (Java-Native-
Access) is an alternative way. Of course, there is SWIG to connect C/C++
with any other high level languages including Java:
http://www.swig.org/index.php
You may use that too. Also there are some ongoing effort by RedHat people to
make the C++<->Java bridge easier, called "Project Panama", but I haven't
tried that.
j***n
发帖数: 301
11
来自主题: Computation版 - JAVA 如何调用现成的dll
several years ago i encountered the same problem and i did a little survey.
so essentially there're two methods:
1. you have control over both the dll side and java side. in this case you g
o with jni directly
2. you dont have control over dll side, e.g. it's written by others and you
dont have src code. in this case you write a c/c++ wrapper for the dll and u
se jni to call your wrapper.
p.s. my knowledge base might have been outdated

输入参数等等)。
z*******n
发帖数: 1034
12
来自主题: MobileDevelopment版 - Dropbox taps C++ for mobile app dev
Sep 16, 2014
Sometimes an older staple of computing can become the ideal choice for
modern application development. Looking for code portability and performance
, Dropbox has leveraged C++ for native mobile development of its Carousel
photo gallery and Mailbox email application.
Featured Resource
Presented by Scribe Software
10 Best Practices for Integrating Data
Data integration is often underestimated and poorly implemented, taking time
and resources. Yet it
Learn More
Officials from Dropb... 阅读全帖
z****e
发帖数: 54598
13

可以,但是平台不一样
后两者主要是jvm上的东西
go是直接跑在os上的东西
两个平台不一样,你要想直接调用,需要jni或者web service等折腾
效果也未必比直接用java好
z****e
发帖数: 54598
14
来自主题: Military版 - 感觉python的前途堪忧

妈蛋,把所有代码用java写一遍很难?
你不会?
再说一次,没有人用java写什么gui
之所以matlab用java,最重要的是他们需要打成jar然后distribute出去的这块市场
你丫不打成jar,哪个白痴用你的东西啊?
你不会真以为用jni去调用吧?
你确定你知道人家为什么要靠到java上去?
真的是你想的那样?
c****x
发帖数: 6601
15
来自主题: Military版 - 你们写JAVA用月食还是intelliJ?
用c,你连基本的数据结构都不全。
c++, 这玩意能看懂就行了。一点点c或c++用jni就行了。

:我老听过你们马公的传说。
c****x
发帖数: 6601
16
其实不一样。
流水线上的工人只管一段,重复劳作。
现在码龙动不动就要全栈。
流水线上工人那是真不懂原理。码农的知识水平,看懂RSA,ECC,paxos,写jni,调汇
编,反编译,操作系统的知识都还是具备的。
理当比汽车工人工资高。
s***h
发帖数: 487
17
新兴马工公司,特别是新 team,确实喜欢 Full Stack Engineer,恨不得做
Numerical Solver 微分方程的,还能兼职写 SQL,真心话。
不过这个也是虎肉的双赢。新兴马工公司招人是说得信誓旦旦仿佛明天就能上天揽月,
其实真心话是都在老虎吃天不知道怎么下爪。当然这也是废话,知道怎么下爪还需要找
full stack engineer 干啥?找个蓝翔熟练工即可。


: 其实不一样。

: 流水线上的工人只管一段,重复劳作。

: 现在码龙动不动就要全栈。

: 流水线上工人那是真不懂原理。码农的知识水平,看懂RSA,ECC,paxos
,写jni
,调汇

: 编,反编译,操作系统的知识都还是具备的。

: 理当比汽车工人工资高。


发帖数: 1
18
华为消费者业务总裁余承东在朋友圈说最快今年秋天,最晚明年春天,华为自己的操作
系统(OS)将可能面市。华为的OS打通了手机、电脑、平板、电视、汽车、智能穿戴,
统一成一个操作系统。且华为OS还兼容全部的安卓应用和所有的Web应用,相关安卓应
用在华为OS上重新编译后,运行性能提升将超过60%。
据传这个操作系统叫鸿蒙。鸿蒙本意是中国神话中的在天地开辟之前,一团混沌的元气
世界。很奇怪,为什么华为的OS叫鸿蒙。等待开辟?还是一团混沌?
余承东别号余大嘴,朋友圈的话算不上正式发布,双重不靠谱。
这位老总一定是把操作系统混同于华为宣传的方舟编译器了。以前华为宣布方舟编译器
的终极目标,是推出一个跨平台、跨系统、跨设备多种语言的软件开发平台。操作系统
包括的东东比一个编译平台多得多。工作量也大得多。能够跨系统写应用软件不等于一
统江湖的跨设备的操作系统。
根据现有信息,鸿蒙是一个基于安卓的,集成了华为对安卓系统的既往优化的操作系统
,包括EMUI5.0 优化,方舟编译平台, GC 优化,EROFS文件系统等等。但主框架仍然
脱不了安卓或者Linux的操作系统。由于安卓和Linux都是开放的,这... 阅读全帖
o***o
发帖数: 23
19
书籍:
计算机类:
C++ How to program
XML and Java
Head First EJB
XSLT programmer's reference
Internetworking with TCP/IP (3 volumes)
Essential JNI
Bitter Java 中文版
Agile Java 中文版
实战Struts
J2EE anti pattern 中文版
英语类:
Four weddings and a funeral
汉英词典
TOEFL相关书籍(新东方 词汇精选,听力习语必备 之类)
其他杂书:
杜拉拉升职记(全套,三册)
怀孕坐月子食谱
婴幼儿抚养
世界是平的 (the world is flat)
其他东东:
汽车用的电池jumper cable 及遮阳板
Coleman tent, 野营用帐篷,可容纳三人,只用过一次
饮水机 + 三个5加仑的水桶 (记得饮水机的热水功能似乎有点问题)
100张CD-R
橄榄球一个
s******e
发帖数: 108
20
来自主题: Classified版 - need a principal engineer for ebay
refer link:
http://rfer.us/EBR9VQbT7
JOb description:
Primary Job Responsibilities:
eBay Platform Framework Group is looking for a principal Platform Engineer
to help build easy to use, robust and scalable web platforms. The ideal
candidate will be passionate about exploring the latest technologies,
solving the toughest software challenges, and have a proven record of
delivering highly operable and maintainable software on time. You should
have relentlessly high standards for yourself and eve... 阅读全帖
c*********n
发帖数: 2
21
来自主题: Classified版 - Sr. Java Developer
Sr. Java Developer
Possesses and applies a comprehensive knowledge across key tasks and high
impact assignments. Plans and leads major technology assignments. Evaluates
performance results and recommends major changes affecting short-term
project growth and success.
Work experience and skills
- Java Programming, Design Pattern
· Perform Unit Testing in local/development environments and full
regression testing in staging and production
· Development of XML and Web Services Technologies,
· XML ... 阅读全帖
l**********3
发帖数: 161
22
来自主题: JobHunting版 - ESRI QA面经
刚刚面的,答的不好,学艺不精,看来还是得好好看书阿。Move on了。。
1. IEEE floating point representation (convert -5.0)
2. Two arrays, numbers are from 1->n, find the duplicate.
3. Two arrays, a1 and a2 (|a1|=|a2|=n/2), take one from a2 and put into a1 (override an existing number in a1). Find the duplicate. (大家说说这个怎么做)
4. Explain signal (UNIX). What is SIGBUS, SIGSEGV? Which signal can trigger core dump? (SIGQUIT, kill -3)
5. Explain pipes. Is pipe unidirectional? How to make it bi-directional? Can multiple processes share ... 阅读全帖
g**e
发帖数: 6127
23
来自主题: JobHunting版 - 发两个职位,攒rp
我决定要拒这家公司了,猎头问我有没有其他人可以推荐的,如果有人有兴趣跟我发个
信。我只是起个传递作用,没任何利益因素。有两个职位
基本情况
location: NY long island
Prop trading firm
base在100k以上,bonus不知。如果没有offer的人可以试试。
core java / database role:
Position Description
Our client is one of the world’s leading financial institutions. We are
looking to hire a mid-level to junior java/database developer. This person
will focus on our historical, quantitative and research database systems.
Skills Required
· Minimum 2 - 5 years of Java and Database development ex... 阅读全帖
r******g
发帖数: 138
24
来自主题: JobHunting版 - VMware CPD-View is hiring
欢迎擅长Java/C++的直接投递简历给我 l*******[email protected]。没有工作年限要求,
Junior/Senior皆可,但需要较好的computer science 以及Java 或者 C++ 基础。
以下是我们组的介绍
Posting Title
MTS Software Engineer - VMware View - CPD
About Us
VMware (NYSE: VMW) is the global leader in virtualization and cloud
infrastructure, two areas that consistently rank as top priorities among
CIOs. VMware delivers award-winning, customer-proven solutions that
accelerate IT by reducing complexity and enabling more flexible, agile
service delivery. Our solutions help... 阅读全帖
l*****a
发帖数: 14598
25
来自主题: JobHunting版 - VMware CPD-View is hiring
这两条不满足的也可以吗?
• Must have hands on experience with JNI, JMS, JSP, Java Servlets,
AJAX, Flex
• Background in virtualization, networking and remote protocols, LDAP
is highly desired
w**z
发帖数: 8232
26
来自主题: JobHunting版 - Facebook Moving To The JVM
还是学Java 吧, 虽然facebook will try to compile php to run on VM,并不是说
直接用Java, 但Java clearly is more popular choice of programming language
than others. And more clearly, JVM is the most popular platform.
http://nerds-central.blogspot.com/2012/08/facebook-moving-to-jv
Facebook Moving To The JVM
The Big Guns get behind mlvm. I mean, BIG like GE, and Facebook!
"Are interpreters immoral?" A question I posed some months ago which might
soon become irrelevant. General purpose interpretors are about to go t... 阅读全帖
z****e
发帖数: 54598
27
来自主题: JobHunting版 - 关于我们做一个中文的online judge
java的部分应该是跟上次聊的amazon的cloud的差不多
动态部署的部分
也就是要用程序操作os的命令
javac之类的
不过感觉用python做起来会简单
因为python对于系统命令的执行比调用jni要容易
简单说流程就是
先post一个form过去,然后server拿到这个request之后
生成一个temp.java
然后javac temp.java生成temp.class
然后java testClass.class调用class,然后把结果反馈回去
难倒是不难,但是这里面涉及到系统权限
一般的cloud比如google app engine不让你有这么高级的权限
尤其是编译的部分,比较适合的是amazon的iaas
那就需要维护的费用
z****e
发帖数: 54598
28
来自主题: JobHunting版 - 关于我们做一个中文的online judge
java的部分应该是跟上次聊的amazon的cloud的差不多
动态部署的部分
也就是要用程序操作os的命令
javac之类的
不过感觉用python做起来会简单
因为python对于系统命令的执行比调用jni要容易
简单说流程就是
先post一个form过去,然后server拿到这个request之后
生成一个temp.java
然后javac temp.java生成temp.class
然后java testClass.class调用class,然后把结果反馈回去
难倒是不难,但是这里面涉及到系统权限
一般的cloud比如google app engine不让你有这么高级的权限
尤其是编译的部分,比较适合的是amazon的iaas
那就需要维护的费用
s******e
发帖数: 108
29
来自主题: JobHunting版 - need a principal engineer for ebay
refer link:
http://rfer.us/EBR9VQbT7
JOb description:
Primary Job Responsibilities:
eBay Platform Framework Group is looking for a principal Platform Engineer
to help build easy to use, robust and scalable web platforms. The ideal
candidate will be passionate about exploring the latest technologies,
solving the toughest software challenges, and have a proven record of
delivering highly operable and maintainable software on time. You should
have relentlessly high standards for yourself and eve... 阅读全帖
r**d
发帖数: 316
30
来自主题: JobHunting版 - 请教一个问题:C++直接操作Excel
通过JNI调用Apache POI?
z*******3
发帖数: 13709
31
来自主题: JobHunting版 - 求问一道G家设计题
找各种语言里面能够直接执行系统命令的api接口
比如java的jni
Q********3
发帖数: 143
32
来自主题: JobHunting版 - java内存问题请教大牛 (转载)
非大牛
jprofiler, jconsole可以
JNI可能造成泄露,强引用无用的对象会造成内存浪费
OOM一般分为两大类
一是heap OOM,
1.用jprofiler看是那些对象占用了大部分内存,然后分析这些地方是否可以优化
2.调整jvm的内存参数Xms,Xmx
二是permgen space OOM
调整jvm参数,permsize 和maxpermsize
监视内存使用情况可以用MBean,很多大公司都有一套系统去监控CPU,内存,硬盘使用
情况
z****e
发帖数: 54598
33
来自主题: JobHunting版 - G真的比FLA技术先进吗? (转载)

换成swift就有办法斗了
jvm vs llvm
java vs swift
java也可以用jni搞c那些,不过不建议你这么搞
而且随着硬件性能的爬升,越来越没有理由这么搞
apple也不怎么建议你从c开始搞了现在
h*********r
发帖数: 210
34
公司:Huami华米科技(小米生态链,负责可穿戴设备)
地点:湾区 Mountain view
联系方式:[email protected]
/* */
Job Position: Sr. Android Developer - Contract or Intern
Term: 3 month contract (extendable)
We are looking to hire a Sr. Android Mobile Application Developer to join
health care team at Huami, Inc. This is a 3 month contract to start. We are
looking for motivated and experienced engineers to develop the Android app
to put technology to use in exciting new ways.
Responsibilities:
1. Collaborate closely with the... 阅读全帖
B*G
发帖数: 3662
35
必须本地跑的话,可以做成C/C++ lib, Android上通过JNI调用。
e********2
发帖数: 495
36
JNI

numpy
y**o
发帖数: 925
37
来自主题: JobMarket版 - 五个软件相关职位的招聘
PRIMARY LOCATION: Atlanta, Georgia
We're an international company where people who have a passion for new techn
ologies and innovations really shine. Sound like you? We're looking for high
energy, a positive attitude and self-motivation. If you're looking for an i
nternational work environment, innovative opportunities and a bright future,
Hisense is a company in which you may excel.
Opening 1:UX Designer
Responsibilities:
- Research and develop innovative UX for Hisense p... 阅读全帖
c*********n
发帖数: 2
38
来自主题: JobMarket版 - Sr. Java Developer
Sr. Java Developer
Possesses and applies a comprehensive knowledge across key tasks and high
impact assignments. Plans and leads major technology assignments. Evaluates
performance results and recommends major changes affecting short-term
project growth and success.
Work experience and skills
- Java Programming, Design Pattern
· Perform Unit Testing in local/development environments and full
regression testing in staging and production
· Development of XML and Web Services Technologies,
· XML ... 阅读全帖
c********t
发帖数: 4527
39
I am looking for a few strong back end engineers with good Java experiences.
If you are an ambitious software guys in Boston area, please feel free to
reach me.
The Senior/Principal Software Engineer will work in the Java Framework team
on such projects as web services framework, messaging systems framework and
integration, authentication, authorization, caching, diagnostic tools, and
other java application server infrastructure
Contribute as a Sr. individual contributor within a team of top eng... 阅读全帖
r****n
发帖数: 639
40
来自主题: SanFrancisco版 - 【JOBS】02.16 -- 03.15
Sr. Software Engineer
Summary:
As a member of the our Software Development team you will design and develop
embedded software for our set top boxes and other connected devices. This
software includes portions of the operating system, device drivers which
operate various hardware components, media codecs for encoding and decoding
digital and broadcast media, middleware components which support device
functionality, user interface components which provide interactive display
for the user, web, por... 阅读全帖
o***o
发帖数: 23
41
书籍:
计算机类:
C++ How to program
XML and Java
Head First EJB
XSLT programmer's reference
Internetworking with TCP/IP (3 volumes)
Essential JNI
Bitter Java 中文版
Agile Java 中文版
实战Struts
J2EE anti pattern 中文版
英语类:
Four weddings and a funeral
汉英词典
TOEFL相关书籍(新东方 词汇精选,听力习语必备 之类)
其他杂书:
杜拉拉升职记(全套,三册)
怀孕坐月子食谱
婴幼儿抚养
世界是平的 (the world is flat)
其他东东:
汽车用的电池jumper cable 及遮阳板
Coleman tent, 野营用帐篷,可容纳三人,只用过一次
饮水机 + 三个5加仑的水桶 (记得饮水机的热水功能似乎有点问题)
100张CD-R
橄榄球一个
p*******k
发帖数: 488
42
在下学了CS硕士要求的所有学分,除了毕业答辩的PROJECT没有完成,也曾经在某大公
司做INTERN时,用过UNIX系统,独立地完成了老板的PROJECT:使用免费软件FITNESS
测试打印机的核心CODE,其中还用到了JNI。后在某大学做了大半年的VOLUNTEER做
web(WINDOWS),使用VB,.NET, C#和SQL server,有时也用用SAS。熟悉JAVA,C/C++
,C#,RUBY等等。无奈工作难找,自己又没有足够的经验,加上英语不灵光,所以很想
找些活挣点钱。
很想请教有在elance等外包网站接活的大虾,手中有没有做不完的活,分点给俺,俺要
钱不多,主要是增加经验。如果有大侠愿意跟俺组成各TEAM,就更好了(俺绝对是个好
兵)。俺的经验是不多,但俺绝对是个干活的好手(俺有国内物理PHD,别笑话俺,做
INTERN,做VOLUNTEER,干活都是独立的,几乎不需要任何指点),尤其擅长解决难题
,自学新东西快。如果阁下有意,请留贵言。谢谢!
f**k
发帖数: 906
43
来自主题: BuildingWeb版 - 彻底转投.net了
很多大公司都是用php
Facebook
Wikipedia
Yahoo
Photobucket
Digg
facebook 用hippop编译成机器码。
如果只是比较语言做同样函数,比如数据计算,3d模型的话,显然是C, C++最快,Java
,.net都还不错。php,ruby,python等等需要解析的就慢很多。
但是考虑到整个web框架,他们要实现的任务量,数据库,以及实现的方法,步骤不同
。结果就不同了。 php的很多功能是通过so/dll函数库实现的。就是说由机器码编译好
的了。
相对来说.net java的很多功能函数库,喜欢用.net java在virtual machine里面实现
,通过interop或者jni的方法并不是prefer的,毕竟他们强调的是cross language/
platform。当然不排除vm以及其基本framework,用的是机器码。
当然.net和java的一个好处是,函数库齐全,使用方法单一,明确,容易使用。
如果只是运行程序,其实在linux上使用mono也是是很好的选择。
不过我们这里讨论的是web服务部分,由于受到内存,netwo... 阅读全帖
f**k
发帖数: 906
44
来自主题: BuildingWeb版 - 彻底转投.net了
很多大公司都是用php
Facebook
Wikipedia
Yahoo
Photobucket
Digg
facebook 用hippop编译成机器码。
如果只是比较语言做同样函数,比如数据计算,3d模型的话,显然是C, C++最快,Java
,.net都还不错。php,ruby,python等等需要解析的就慢很多。
但是考虑到整个web框架,他们要实现的任务量,数据库,以及实现的方法,步骤不同
。结果就不同了。 php的很多功能是通过so/dll函数库实现的。就是说由机器码编译好
的了。
相对来说.net java的很多功能函数库,喜欢用.net java在virtual machine里面实现
,通过interop或者jni的方法并不是prefer的,毕竟他们强调的是cross language/
platform。当然不排除vm以及其基本framework,用的是机器码。
当然.net和java的一个好处是,函数库齐全,使用方法单一,明确,容易使用。
如果只是运行程序,其实在linux上使用mono也是是很好的选择。
不过我们这里讨论的是web服务部分,由于受到内存,netwo... 阅读全帖
t******a
发帖数: 1200
45

1. 你知道什么是 double buffering 么? 你看过 Java Stream 的实现么? 你
Benchmark 过Java IO Library vs C library 么 ? 不要整天拿个你不懂的名词
跑火车。 Java 做 serialization时因为 type saftety 原因不支持类似
readFoo( &myfoo, sizeof(Foo)) 的方法,但单纯的 read, write 是不慢
的, 尤其是 disk/network io.
Premature optimization is the root of all evil. - Don Knuth
Rule 1: Don't optimize your code. Rule 2 : Still don't optimize your code
用 C 实现相同的功能速度不可能是 Java 的十倍。按照我们的经验,Java 比 C
一般情况下慢 20% - 100% 左右。如果有特别 computational bootleneck,
用 JNI 写一个 Native implementat
k*k
发帖数: 49
46
来自主题: CS版 - JAVA 如何调用现成的dll
try Java Native Interface (JNI)
T*********g
发帖数: 496
47
来自主题: Hardware版 - 假如我来给google搞一套系统……
没用过android做开发吧,反正我实在是没看出来android在哪里优秀了。
linux做核, JNI call 一下乱写个框架有啥了不起。
i**e
发帖数: 6810
48
来自主题: Hardware版 - t61p 刷 win7 求功略。
一个是Java程序找不到JNI的dll,这个很奇怪,有的XP上
也碰到过。另外一个,在vmware XP里面run PPStream不能显示
画面,这个用vmware都解决不了啊,因为已经在VM里面了
f*****r
发帖数: 13
49
来自主题: Java版 - Re: 如何读取serial port in Java
Go to sun's web, there is a package support ser/para port.
Also, you can download similar packages from other site.
It looks like this package is implemented in C (distribuated as dll for
windows32). So you can also use JNI to call C lib to implement serial port
communication.
m****t
发帖数: 145
50

Because I don't know how to do otherwise. Do you have any such
idea? Note that my C++ program is written according to JNI specification,
so when compiled to generate a dll, some directory under c:/jdk1.3
need to be included.
首页 上页 1 2 3 4 5 6 下页 末页 (共6页)