v**a 发帖数: 17 | 1 sure.i am using jdk1.4's javac because i execute"javac Blackjack.java"
in the path of E:\tools\jdk\bin ,When i input echo %CLASSPATH%
E:\tools\jdk\bin>echo %CLASSPATH%
.;E:\tools\jdk\lib;E:\tools\jdk\jre\lib\ext;E:\tools\jdk\jre\lib\ext\tio.jar;e
tools\jdk\jre\lib\ext\cards.jar;E:\tools\jdk\lib\tools.jar;E:\source\tio.jar;E
source\cards.jar |
|
l***a 发帖数: 18 | 2 database URL source should be ip address plus port number
.;c:\j2sdk1.4\lib\tools.jar;c:\j2sdk1.4\lib\j2sdktools.jar;c:\j2sdkee1.4\lib\j
2ee.jar;c:\j2sdkee1.4\lib\j2eetools.jar;c:\j2sdkee1.4\lib\cloudscape\cloudscap
而且在运行程序前我j2ee和cloudscape都启动了,最后运行这个小程序的时候报错是sql |
|
w*******l 发帖数: 14 | 3 下面是这段程序,运行时报的错误:
Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CO
DE=12505)(EMFI=4))))
断点跟踪,进入getConnection()语句,发现带入的参数都是空。为什么呢?是不是我设
的别的参数什么有问题:向Config library之类的,我加了
zip:///[C%|/oracle/ora92/jdbc/lib/classes111_g.jar]
zip:///[C%|/oracle/ora92/jdbc/lib/classes111.jar]
zip:///[C%|/oracle/ora92/jdbc/lib/classes12_g.jar]
zip:///[C%|/oracle/ora92/jdbc/lib/classes12.jar]
zip:///[C%|/oracle/ora92/jdbc/lib/classes12dms_g.jar]
zip:///[C%|/oracle/or |
|
b*********e 发帖数: 2642 | 4 有一个可执行程序,需要一个动态库文件(.so.0)。
一般就是把那个库文件放到/usr/lib里就可以了。
同样都是最近安装的ubuntu9系统,一模一样的做法,一模一样的
库文件,其他两台机器一点问题
都没有,放到/usr/lib下就可以执行那个程序了。
可是有一台机器给出的错误就是:
error while loading shared libraries: libg2c.so.0:
cannot open shared object file: No such file or directory
但是locate和ls都明白地说/usr/lib下有这个文件。
locate libg2c.so.0
/usr/lib/libg2c.so.0
/usr/lib/libg2c.so.0.0.0
这是怎么回事呢?什么设置可能在第三台机器上错了? |
|
h**********y 发帖数: 1293 | 5 编译和link用了 m32和 -m elf-i386
编译时候没有问题
link时候出现
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-
linux-gnu/4.3.3/../../../../lib/crt1.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-
linux-gnu/4.3.3/../../../../lib/crti.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-
linux-gnu/4.3.3/crtbegin.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 a |
|
z****t 发帖数: 1090 | 6 下面是我刚刚在live cd下招待sudo apt-get upgrade时 的情况
前面有个Removing bootchart... 是因为这个错误第一次发生在我要删除bootchart时, 后来就一直有错 所
以bootchart实际上并没有删掉
...
Extracting templates from packages: 100%
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 210385 files and directories currently installed.)
Removing bootchart ...
dpkg: version 'uname -r' has bad syntax: version string has embedded spaces
dpkg: version 'uname -r' has bad syntax: v... 阅读全帖 |
|
c**t 发帖数: 2744 | 7 g++ 3.2 就没有问题。3.4怎么不行?
$ make -f makefile all
rm -f ../../../../programs/libraries/libxmlparse.a
g++ -qmkshrobj -o ../../../../programs/libraries/libxmlparse.so ../../../../programs/libraries/static/libxmlparse_s.a
-blibpath:./programs/libraries:/usr/lib/threads:/lib:/usr/lib:/lib:/software/ace/ACE_wrappers/ace
-L/lib -ldl -lpthreads -ltli_r -lC_r
g++: `-b' must come at the start of the command line
make: *** [../../../../programs/libraries/libxmlparse.a] Error 1
$ g++ --version
g++ |
|
s**********r 发帖数: 340 | 8 using other people's library, but in the properties of VC(Visual Studio 2005
), in Linker->Input->Additional dependencies, they have a x.lib. But I
couldn't find such lib in their lib directory. So that the linker stopped
there and reported an error saying couldn't find the lib file.
Please also tell me what's the relationship between .dll, .lib, and the
source code I'm using. Where to find useful information about it? |
|
y****e 发帖数: 23939 | 9 我的Project是从Linux下移植到windoesXP上的,原来在VS2003下能编译,但是我需要
specify ignore libc.lib 和libcmt.lib.
现在我用vs2005编译,总是complain:
LINK: fatal error LNK1104: cannot open file 'LIBC.lib'
我想这些C++函数都应该连接到MSVRT.lib的呀,为什么要连接到libc.lib呢?而且我的
Project是多线程的,/MD。我的Project有8个dependent library,有些是以前用
vs2003 build 的会不会是这个原因呢? |
|
t****t 发帖数: 6806 | 10 很难弄的, 你要让gcc能看到gsl的include file, 还要让gcc/ld能看到gsl的library
file
你找你装好的gsl, .h文件在什么地方? 比如说有/home/me/GSL/include/gsl/gsl_blas
.h
那你可以试试
CPPFLAGS=-I/home/me/GSL/include
你装好的gsl, .a或者.so在什么地方? 比如有/home/me/GSL/lib/libgsl.a, 你可以试试
LIBS=-L/home/me/GSL/lib
所以你可以写
env CPPFLAGS=-I/home/me/GSL LIBS=-L/home/me/GSL/lib make
但是这都不一定有用, 取决于这个作者的makefile是怎么写的
所以我说一两句话说不清楚, 基本上要看到你的机器才行, 我也没用过gsl, 只是对
UNIX熟一点 |
|
z****e 发帖数: 2024 | 11 两位大牛,我有一个极弱问题:
core dump之后回溯,得到如下东东,
这都是神马玩意啊???
好像第3帧之前都是系统的事情,
倒数第8帧,看到了亲耐地 shared_ptr,这玩意怎么调试啊???
Program received signal SIGABRT, Aborted.
0xb76e5410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb76e5410 in __kernel_vsyscall ()
#1 0xb7487085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7488a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb74bfb7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb74c7a85 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0xb74cb4f0 in free () from /lib/ |
|
h****r 发帖数: 2056 | 12 啥时候glibc的allocato自己call arena_get2 --》 mmap?
下面这个thread的stack显示出不属于任何applicaiton thread,应该是glibc的
allocator发现master arena没法用了,只好再建一个新的heap。
(gdb) c
Continuing.
[Switching to Thread 0xb53b4b90 (LWP 8084)]
Breakpoint 1, 0xb7f68b10 in mmap () from /lib/libc.so.6
(gdb) where
#0 0xb7f68b10 in mmap () from /lib/libc.so.6
#1 0xb7efff16 in new_heap () from /lib/libc.so.6
#2 0xb7f000b1 in _int_new_arena () from /lib/libc.so.6
#3 0xb4a00010 in ?? ()
#4 0xb4a00010 in ?? ()
#5 0xb53b4118 in ?? ()
#6 ... 阅读全帖 |
|
b**********8 发帖数: 239 | 13 Error received:
Traceback (most recent call last):
File "C:\EclipseWorkspaces\csse120\FleaSearch\src\MitMailbox.py", line 22,
in
resp=opener.open(req)
File "C:\Python32\lib\urllib\request.py", line 375, in open
response = meth(req, response)
File "C:\Python32\lib\urllib\request.py", line 487, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python32\lib\urllib\request.py", line 407, in error
result = self._call_chain(*args)
File "C:\Python3... 阅读全帖 |
|
|
p**z 发帖数: 65 | 15 要查看numpy都用了哪些数学库,用下面的函数:
numpy.show_config()
结果在Windows机器上大概像这样:
lapack_opt_info:
libraries = ['mkl_lapack95_lp64', 'mkl_core_dll', 'mkl_intel_lp64_dll',
'mkl_intel_thread_dll']
library_dirs = ['C:\Python27\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_dirs = ['C:\Python27\include']
blas_opt_info:
libraries = ['mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll
']
library_dirs = ['C:\Python27\libs']
define_macros = [('SCIPY_MKL_H', None)]
include_... 阅读全帖 |
|
j******a 发帖数: 1599 | 16 那你最后怎么解决的step 4的问题的呢?
重装?我遇到了和你一模一样的问题,但是我没有改什么用户名什么的,不过设密码的时候好像出错了?
log:
freepbx-2.7.0/SQL/cdr_mysql_table.sql
+----------------------------------------------------------------+
| Changing maximum upload limit in PHP |
+----------------------------------------------------------------+
+----------------------------------------------------------------+
| Setting permissions for asterisk user |
+----------------------------------------------------... 阅读全帖 |
|
w********r 发帖数: 3183 | 17 不知道在WINDOWS里如何进行下面的过程
/etc/init.d/mysql stop
mv /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile0.bak
mv /var/lib/mysql/ib_logfile1 /var/lib/mysql/ib_logfile1.bak
/etc/init.d/mysql start
service |
|
l********g 发帖数: 6760 | 18 复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光 163
4 系统自然观 栾玉广 162
5 科技史与当代科技 刘青泉 160
6 科学哲学 刘大椿 158
7 王小波全集 王小波 105
8 微积分学教程 菲赫金哥尔茨 98
9 费恩曼物理学讲义 费恩曼 97
10 Б.П.吉米多维奇数学分析习题全解 廖良文 96
11 数学分析习题全解指南 陈纪修 93
12 理论力学 朱照宣 92
13 数学分析 陈纪修 90
14 基础有机化学 邢其毅 88
15 组织病理学彩色图谱 郭慕依 86
16 生物化学 王镜岩 78
17 世界文明史 杜兰特 71
18 实用人体解剖学彩色图谱 李瑞祥 69
19 数学分析习题集题解 吉米多维奇 69
20 平凡的世界 路遥 67
前20名借阅总次数 2182
北京大学2011年全年借阅排行(2012还没):
http://lib.pku.edu.cn/... 阅读全帖 |
|
|
|
r*****g 发帖数: 7139 | 21 SQLSTATE[08004] [1040] Too many connections
Trace:
#0 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
(211): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(
441): Varien_Db_Adapter_Pdo_Mysql->_connect()
#2 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.
php(230): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapte |
|
p********8 发帖数: 2061 | 22 SQLSTATE[08004] [1040] Too many connections
Trace:
#0
/chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php(21
1): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1
/chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(441):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#2
/chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.php(2
30): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3
/chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapter |
|
s**********t 发帖数: 680 | 23 申绿卡急用Paper求助!双黄包答谢!
各位兄弟姐妹如有CNKI或万方的权限请帮我下载!
我的Email是 [email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
谢谢!
1.
影响阻塞性黄疸预后的多因素分析
来 源: 肝胆胰外科杂志 1997年03期
CNKI链接:http://lib.cnki.net/c... 阅读全帖 |
|
C*********o 发帖数: 563 | 24 in libs. like the bottom level of clark hall,4th floor of clemons,
some place in aldermon... the most libs for using laptop is
definately darden lib and law school lib. but kind of far from e
school. |
|
l****z 发帖数: 29846 | 25 嗯, 看了一下,说ubuntu下面也没有声音,然后这个人这么解决的:
Ok, I've finally found a solution.
By renaming libjsoundalsa.so
Code:
$ mv /usr/lib/jvm/java-6-sun/jre/lib/amd64/libjsoundalsa.so \
/usr/lib/jvm/java-6-sun/jre/lib/amd64/libjsoundalsa.so.rename
I finally got the sound working! Would be interesting to know why NOT using
alsa would help with this problem though.. |
|
g*********d 发帖数: 8125 | 26 【 以下文字转载自 Military 讨论区 】
发信人: laodaniang (老大娘), 信区: Military
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 00:15:44 2013, 美东)
复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光 163
4 系统自然观 栾玉广 162
5 科技史与当代科技 刘青泉 160
6 科学哲学 刘大椿 158
7 王小波全集 王小波 105
8 微积分学教程 菲赫金哥尔茨 98
9 费恩曼物理学讲义 费恩曼 97
10 Б.П.吉米多维奇数学分析习题全解 廖良文 96
11 数学分析习题全解指南 陈纪修 93
12 理论力学 朱照宣 92
13 数学分析 陈纪修 90
14 基础有机化学 邢其毅 88
15 组织病理学彩色图谱 郭慕依 86
16 生物化学 王镜岩 78... 阅读全帖 |
|
Q**J 发帖数: 23283 | 27 【 以下文字转载自 LeisureTime 讨论区 】
发信人: guybrush (guybrush), 信区: LeisureTime
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜 (转载)
发信站: BBS 未名空间站 (Thu May 16 14:34:56 2013, 美东)
发信人: ironarmor (不再是小土豆), 信区: USTC
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 04:05:57 2013, 美东)
发信人: laodaniang (老大娘), 信区: Military
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 00:15:44 2013, 美东)
复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光... 阅读全帖 |
|
g******h 发帖数: 291 | 28 【 以下文字转载自 USTC 讨论区 】
发信人: ironarmor (不再是小土豆), 信区: USTC
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 04:05:57 2013, 美东)
发信人: laodaniang (老大娘), 信区: Military
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 00:15:44 2013, 美东)
复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光 163
4 系统自然观 栾玉广 162
5 科技史与当代科技 刘青泉 160
6 科学哲学 刘大椿 158
7 王小波全集 王小波 105
8 微积分学教程 菲赫金哥尔茨 98
9 费恩曼物理学讲义 费恩曼 97
10 Б.П.吉米多维奇数学分析习题全解 廖良... 阅读全帖 |
|
k********k 发帖数: 5617 | 29 Many people speak English and Mandarin.
How many people who speak Mandarin (and English) can speak fluently a second
foreign language, such as French, German, Spanish, Russian, Italian,
Japanese, Korean, Arabic, and others?
It is hard to pronounce English (particularly British English) correctly.
It is probably even harder to pronounce (Parisian) French correctly.
Please try to read aloud any of the following versions in a second foreign
language: French, Spanish, Italian, and German.
Russian is... 阅读全帖 |
|
s*******a 发帖数: 8827 | 30 【 以下文字转载自 USTC 讨论区 】
发信人: ironarmor (不再是小土豆), 信区: USTC
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 04:05:57 2013, 美东)
发信人: laodaniang (老大娘), 信区: Military
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 00:15:44 2013, 美东)
复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光 163
4 系统自然观 栾玉广 162
5 科技史与当代科技 刘青泉 160
6 科学哲学 刘大椿 158
7 王小波全集 王小波 105
8 微积分学教程 菲赫金哥尔茨 98
9 费恩曼物理学讲义 费恩曼 97
10 Б.П.吉米多维奇数学分析习题全解 廖良... 阅读全帖 |
|
|
b*****l 发帖数: 9499 | 32 阶段性胜利了:在 .c 下面,makefile 和 omp_set_num_threads 管用,num_threads
不管用。在 .cpp 下面,omp_set_num_threads 和 num_threads 管用,makefile 不管
用(所以只好写了个 bash script)。。。
大家帮我看看我的 makefile 哪里出错了吧。一个叫做 CMakefile,一个叫做
Makefile,code 一样(除了指向的文件名),结果不一样,后者的 g++ 后面多了些空
格,最后少了一堆参数。。。
$ make -f CMakefile
gcc -c -o CTestOMP.o CTestOMP.c -I. -g -O -fopenmp
gcc -o CTestOMP CTestOMP.o -I. -g -O -fopenmp -lm
$ make -f Makefile
g++ -c -o TestOMP.o TestOMP.cpp
g++ -o TestOMP TestOMP.o -I. -g -O -fopenmp -Wall -lm
##############... 阅读全帖 |
|
|
f******t 发帖数: 61 | 34 I have tried, but in the /usr/lib directory,
the libc.so.6 and ld-linux.so.2 is there.
The error is:
/usr/local/lib/libc.so.6: undefined symbol:_dl_initial_searchlist_
mingetty: error in loading shared library.
Then i try to replace the files in lib directory with
libc5 files, which i found under /usr/i486-linux-libc5/lib
But now error is:
INIT: can't execute command mingetty
and no other message! |
|
i*******r 发帖数: 377 | 35 【 以下文字转载自 Military 讨论区 】
发信人: laodaniang (老大娘), 信区: Military
标 题: 复旦、交大、北大、台清大、中科大图书馆借阅排行榜
发信站: BBS 未名空间站 (Thu Apr 25 00:15:44 2013, 美东)
复旦大学最近一年借阅排行:
http://202.120.227.11/F/AS5SPCIFXI8MX42DK4L26U41TU8FSN3G5PARFIU
1 科学的结构 内格尔 173
2 科学哲学 罗森堡 167
3 柏杨白话版资治通鉴 司马光 163
4 系统自然观 栾玉广 162
5 科技史与当代科技 刘青泉 160
6 科学哲学 刘大椿 158
7 王小波全集 王小波 105
8 微积分学教程 菲赫金哥尔茨 98
9 费恩曼物理学讲义 费恩曼 97
10 Б.П.吉米多维奇数学分析习题全解 廖良文 96
11 数学分析习题全解指南 陈纪修 93
12 理论力学 朱照宣 92
13 数学分析 陈纪修 90
14 基础有机化学 邢其毅 88
15 组织病理学彩色图谱 郭慕依 86
16 生物化学 王镜岩 78... 阅读全帖 |
|
l***a 发帖数: 149 | 36 初次在次发帖求助,如果内容不适合本版,请删除。
我在用一个apple pro os x 10.6 运行 fortran编写的数值模式。目前需要用到mpi的
library。我注意到之前在/usr/lib 和/usr/include 路径下都有openmpi的文件夹,
但是我一时冲动自己又安装了一个openmpi-1.4.3
fortran, gcc, g++都用的是gcc的package。
但是现在的问题是用mpif90编译程序后,每次执行都会遇到问题:
mca: base: component_find: unable to open /usr/lib/openmpi/mca_ras_dash_host
(ignored)
mca: base: component_find: unable to open /usr/lib/openmpi/mca_ras_
gridengine: perhaps a missing symbol, or compiled for a different version of
Open MPI? (ignored)
mca: base: compon... 阅读全帖 |
|
g**k 发帖数: 236 | 37 试了。但是用sendmessage没反应。我试了试右下角的时间句柄,显示的句柄数字是对
的,用sendmessage双击,时间的窗口也是没反应。如果我用sendkeys的话,可以显示
跳出的时间窗口,但是我要的那个程序keyboard不是focusable的,所以不能用这个方
法。下面是用sendmessage写的程序,能帮忙看看哪里出的问题吗?谢谢了!
...
Private Declare Function ShowWindow Lib "user32.dll" ( _
ByVal hWnd As IntPtr, _
ByVal nCmdShow As SHOW_WINDOW _
) As Boolean
Private Declare Auto Function FindWindow Lib "user32" _
(ByVal ClassName As String, ByVal WindowTitle As String) As IntPtr
Private Declare Auto Function Fi... 阅读全帖 |
|
a***n 发帖数: 1616 | 38 我的关键问题是,如果是.jar,可不可以只写目录名,它会自动找目录里所有jar
里面包含的class?
为什么我装的J2SDK,默认的classpath是 jdk/lib/tools.jar:jdk/jre/lib
其中jdk/jre/lib里有java所需的所有class包:rt.jar。
它为什么不用jdk/jre/lib/rt.jar,或者干脆用 jdk/share/src.zip呢(src.zip也包含
java所需的所有class)。
是不是jdk1.4放宽要求,对jar内建支持,不用些全jar的文件名,只要目录它就可以搜? |
|
l****y 发帖数: 92 | 39 我刚接触java,编了一个入门程序,
有两个问题请教大家
import java.lang.Double;
public class CircleArea
{
public static void main(String args[])
{
final double PI = 3.14;
double area, r;
r = Double.parseDouble(args[0]);
area = PI * r * r;
System.out.println("r=" + r + " area=" + area);
}
}
1,由于lang在lib\src的java目录中,所以我的classpath设置为
classpath=d:\jdk\lib\rt.jar;d:\jdk\lib\tools.jar;d:\jdk\lib\src, 这样正确吗
?
2,程序编译成功,可是运行是总是有错误提示
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException,
请问怎么解决啊???
谢谢 |
|
m******o 发帖数: 774 | 40 Thanks a lot ThatOne.
I think I figured it out with your input.
I do need to use some of the library classes in my server side code, so it
makes perfect sense that the whole process won't finish when I take the lib
files out of WEB-INF/lib.
I've tried use only the jar files in WEB-INF/lib but it always failed to
load. Now with your input, I tried put the jar files in a directory named '
WEBINF/lib' and it worked! So I suspected that the '-' part in the directory
name is the trouble maker. Guess |
|
y****e 发帖数: 1012 | 41 tomcat7 2888 1 2 20:26 ? 00:00:19 /usr/lib/jvm/jdk1.7.0_03/bin
/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.
properties -Djava.library.path=/ssd_back/workspace/CDPlacement/
DCPlacementCore/lib -Djava.awt.headless=true -Xmx128m -XX:+
UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.
ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -
classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat
-juli.jar -Dcata... 阅读全帖 |
|
b*****l 发帖数: 9499 | 42 E大,咋整?
* Found some broken files that weren't associated with known packages
* The broken files are:
* /usr/local/lib/libhighgui.so.1.0.0
* /usr/local/lib/libxerces-c-3.0.so
* /usr/local/lib/python2.4/site-packages/opencv/_cv.la
* /usr/local/lib/python2.4/site-packages/opencv/_highgui.la
BTW,俺的 python version 现在是 2.6.2
要不要 emerge --clean 或者 emerge --depclean 或者 emerge --prune 一下? |
|
a*******e 发帖数: 3021 | 43 忘了说了,我是fedora 11 64位。
我试过LD_PRELOAD=/usr/lib/libv4l/v4lcompat.so mplayer,说
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot
be preloaded: ignored.
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot
be preloaded: ignored.
我觉得v4l是没问题的,因为我用vlc v4l2:///dev/video0是可以看到图像的 |
|
o**n 发帖数: 1249 | 44 昨天在windows下试了freecad,还可以,不过UI还没做完,很多功能要用python实现,
有点麻烦。linux下更麻烦一点,给的deb不能直接在debian lenny上装,用的lib版本
都太新了,我有空试一下用lenny带的这些版本的lib,能不能compile。
另外,如果不自己compile的话,不知道可不可以装很多不同版本的lib,比如把这些需
要的新版本放在某个目录下,让freecad优先选这些lib运行,具体应该怎么做呢? |
|
z****t 发帖数: 1090 | 45 贴个从一最开始的错误 也许这个installArchives有线索
installArchives() failed: Selecting previously deselected package ttf-ubuntu
-title.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database .... 阅读全帖 |
|
i******e 发帖数: 6 | 46 8
帖子: 1
Ubuntu 10.04 LTS amd64
在安装第二个文件lib32qtwebkit4时报错:
dpkg: error processing lib32qtwebkit4_2.0.0~0ubuntu1-2_amd64.deb (--install):
trying to overwrite '/usr/lib32/libQtWebKit.so.4', which is also in package ia32-libs 0:2.7ubuntu26
Errors were encountered while processing:
lib32qtwebkit4_2.0.0~0ubuntu1-2_amd64.deb
如跳过这步直接安装ppstream-1.0.0.3又会报错:
ppstream depends on ia32-libs (>= 20080808); however:
Version of ia32-libs on system is 2.7ubuntu26.
ppstream depends on lib32qtwebkit4; however:
Pac... 阅读全帖 |
|
i******e 发帖数: 6 | 47 8
帖子: 1
Ubuntu 10.04 LTS amd64
在安装第二个文件lib32qtwebkit4时报错:
dpkg: error processing lib32qtwebkit4_2.0.0~0ubuntu1-2_amd64.deb (--install):
trying to overwrite '/usr/lib32/libQtWebKit.so.4', which is also in package ia32-libs 0:2.7ubuntu26
Errors were encountered while processing:
lib32qtwebkit4_2.0.0~0ubuntu1-2_amd64.deb
如跳过这步直接安装ppstream-1.0.0.3又会报错:
ppstream depends on ia32-libs (>= 20080808); however:
Version of ia32-libs on system is 2.7ubuntu26.
ppstream depends on lib32qtwebkit4; however:
Pac... 阅读全帖 |
|
l*******G 发帖数: 1191 | 48 just some speculations:
the libraries
libcurses.so libX11.so libXmu.so libXi.so libGL.so libGLU.so libglut.so
libglut.a
you have on your computer may have multiple versions. So different parts of
your code may be linked to different versions of the libs.
Make sure for each lib, you just consistently use the same version. Check
your LD_LIBRARY_PATH, (help http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html)
Some of the libs above may be soft or hard links to some files in your file
... 阅读全帖 |
|
f******y 发帖数: 2971 | 49 【 以下文字转载自 Statistics 讨论区 】
发信人: finalguy (o(∩∩)o), 信区: Statistics
标 题: Problem with R loading C libraries
发信站: BBS 未名空间站 (Tue Nov 29 14:10:46 2011, 美东)
I got problem when trying to load gsl library:
dyn.load("/usr/local/lib/libgsl.so")
Error in dyn.load("/usr/local/lib/libgsl.so") :
unable to load shared object '/usr/local/lib/libgsl.so':
/usr/local/lib/libgsl.so: undefined symbol: cblas_ctrmv
I know what the msg means, but how to fix it? |
|
a**u 发帖数: 7128 | 50 [Parsed_ass_0 @ 0x80ae2e7a0] Glyph 0x2B2 not found, selecting one more font
for (Arial, 80, 0)
seems it is missing the fonts. How do I tell ffmpeg what font to use?
-----------------------------------
ffmpeg1 -i Farewell.mkv -sameq -vcodec libx264 -threads 26 -y -vf ass=a.
ass fare.mp4
ffmpeg version 1.0.5 Copyright (c) 2000-2012 the FFmpeg developers
built on May 28 2013 19:38:07 with gcc 4.2.2 (GCC) 20070831 prerelease [
FreeBSD]
configuration: --enable-x11grab --prefix=/usr/local --man... 阅读全帖 |
|