eclipse中的Java.lang.UnsatisfiedLinkError [英] Java.lang.UnsatisfiedLinkError in eclipse

查看:83
本文介绍了eclipse中的Java.lang.UnsatisfiedLinkError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个插件,我正在尝试在控制台上打印批处理文件的输出!

I have made a plugin and i am trying to print an output of a batch file on a console !

输出显示此错误.

java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\prism-4.0\lib\prism.dll: 无法在 AMD 64 位平台上加载 IA 32 位 .dll

我是日食的新手!请告诉我如何解决此错误.

I am new to eclipse ! Please let me know how to fix this error.

此外!我想在我的项目中添加一些手动属性(用户定义)!就像我们选择项目并右键单击然后属性",然后有诸如资源"、构建器"、任务存储库"、验证"、WikiText"之类的选项强>等等等等..我想添加我的财产说ABC".那我怎么添加呢?请告诉我 !如果我尽快得到答复将非常有帮助

Moreover ! I want to add some manual property (user defined) in my project ! Like when we select the project and right click then "properties" then there are options like "Resources", "Builders", "Task Repository", "Validation", "WikiText" etc. etc.. ! I want to add my property say "ABC". Then how can i add so? Please let me know ! It would be very helpful if i get an answer as soon as possible

我询问过一次,他们说我需要了解 IProjectNature.请让我知道更具体的事情..因为我觉得它不适合我的情况..

I inquired once thay said that i need to know about IProjectNature. Please let me know abt more specific thing.. because i don't found it suitable in my case..

我的代码是...

    try {
        ProcessBuilder pb=new ProcessBuilder("C:\\Program Files (x86)\\prism-4.0\\bin\\prism.bat");
        pb.directory(new File("C:\\Program Files (x86)\\prism-4.0\\bin"));
        Process p=pb.start();

        BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));

        String in;
        while((in = input.readLine()) != null) {
            out.println(in);
        }


        int exitVal=p.waitFor();            

       out.println("Exited with error code "+exitVal+" shown and action performed \n");

推荐答案

您尝试运行的软件不能在 64 位 JVM(您的项目可能配置为使用)上运行.

The software you're trying to run does not run on a 64bit JVM (which your project probably is configured to use).

尝试将您项目的 JRE 库更改为 32 位.

Try to change the JRE library for your project to a 32bit one.

这篇关于eclipse中的Java.lang.UnsatisfiedLinkError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆