Google Search Within opentiss.net

2009-04-24

SLE/Eclipse/openJDiary

昨天晚上整理了一下SLED 11的升级包,但到libpcap时,不能直接下载了,还是报权限不够的错误,今天研究了一下,发现其实很简单,刚推出的升级包被标记为“Restricted Patch”,是受限制的,只能通过在线升级来升级,如果超过一定天数的,会被标记为“Unlocked Accessible File”,只有这样的升级包才能从Novell网站下载,然后离线安装。所以,大家只能等升级包发布后几天再下载并离线安装了。
一直用Eclipse写Wiki,没有太多用来学习其他的工具,今天下午适逢每周五的例行技术交流时间,也是制定这一制度以来的第一次技术交流,一个东北小伙讲了一下MyEclipse+Struts+Hibernate的基本使用方法,感觉确实应该好好多学习一下了。
现在我主要用Eclipse编写一个小软件openJDiary,遇到的一个技术问题是,想取得jar包所在的路径,当然,如果jar包是在当前工作目录,直接用System.getProperty("user.dir")就可以了。但如果不在jar包所在的目录调用,就不管用了,谷歌了一下,也没找到合适的办法,所以我自己想了个办法获取jar包所在的路径,仅供大家参考:
File tmpf = new File(System.getProperty("java.class.path"));
tmpf = new File(tmpf.getCanonicalPath());
String Root = tmpf.getParent();

字符串Root即是获取的jar包所在的路径了。

11 条评论:

ninest123 Ninest 说...

ninest123 12.23
nike free pas cher, hogan outlet, nike trainers, north face, hollister, mulberry, vans pas cher, air jordan, nike blazer, vanessa bruno, louboutin, nike air force, polo lacoste, air max, timberland, abercrombie and fitch, true religion jeans, michael kors outlet, sac longchamp pas cher, polo ralph lauren, longchamp, true religion jeans, nike tn, lululemon outlet online, nike roshe run pas cher, michael kors pas cher, oakley pas cher, nike free, michael kors uk, air max pas cher, true religion outlet, sac hermes, ray ban sunglasses, hollister, ralph lauren, ray ban pas cher, coach purses, michael kors, true religion outlet, air max, nike roshe, new balance pas cher, north face, sac guess, sac burberry, coach outlet store online, converse pas cher, replica handbags, nike air max, nike huaraches

ninest123 Ninest 说...

louis vuitton, air max, ray ban sunglasses, oakley sunglasses, burberry outlet, uggs, cheap uggs, michael kors outlet, christian louboutin, tiffany and co, prada outlet, louis vuitton outlet stores, ray ban sunglasses, cheap oakley sunglasses, longchamp handbags, uggs outlet, tiffany and co, nike shoes, tory burch outlet, ray ban sunglasses, longchamp handbags, oakley sunglasses, polo ralph lauren outlet, michael kors outlet, michael kors outlet online sale, chanel handbags, michael kors outlet, louis vuitton handbags, air max, louboutin outlet, burberry outlet, oakley sunglasses cheap, ugg outlet, louboutin, michael kors outlet, prada handbags, louis vuitton outlet, polo ralph lauren, nike free, replica watches, ugg boots clearance, michael kors outlet, louboutin shoes, jordan shoes, rolex watches, oakley sunglasses, louis vuitton outlet, gucci outlet, longchamp outlet

ninest123 Ninest 说...

converse, mcm handbags, reebok outlet, bottega veneta, p90x, chi flat iron, hollister clothing store, ray ban, jimmy choo outlet, lululemon outlet, nfl jerseys, iphone 6s cases, soccer jerseys, wedding dresses, louboutin, babyliss pro, beats by dre, north face outlet, ferragamo shoes, gucci, abercrombie, instyler, iphone 6s plus cases, asics running shoes, celine handbags, abercrombie and fitch, iphone 5s cases, ghd, vans, valentino shoes, air max, oakley, ipad cases, giuseppe zanotti, new balance shoes, herve leger, timberland boots, air max, baseball bats, iphone 6 cases, birkin bag, s6 case, ralph lauren, nike roshe run, north face jackets, insanity workout, iphone cases, mont blanc, iphone 6 plus cases, vans shoes, soccer shoes, mac cosmetics

ninest123 Ninest 说...

wedding dresses, moncler, ugg, louis vuitton, ugg, moncler, canada goose jackets, canada goose uk, supra shoes, pandora jewelry, swarovski, ugg pas cher, sac louis vuitton, swarovski crystal, canada goose, barbour, ugg, converse shoes, toms shoes, louis vuitton uk, sac louis vuitton, sac lancel, links of london, juicy couture outlet, canada goose, rolex watches, hollister, pandora jewelry, canada goose, thomas sabo, canada goose outlet, moncler, moncler, barbour, pandora charms, montre homme, doke gabbana, louis vuitton, canada goose, ugg boots, moncler outlet, moncler, pandora charms, moncler, juicy couture, karen millen, marc jacobs, moncler, canada goose, coach outlet store online
ninest123 12.23

柯云 说...

2016-05-07keyun
nike air max uk
cheap ray ban sunglasses
timberlands
nike sb dunks
air max 90
longchamp le pliage
coach outlet online
fitflop sandals
ralph lauren
michael kors handbags
nike blazers uk
michael kors outlet
michael kors handbags
louis vuitton outlet
jordan 3s
oakley outlet
tiffany rings
polo ralph lauren outlet
jordan retro 8
louis vuitton purses
coach factory outlet online
fitflop clearance
adidas factory outlet
vans sneakers
nfl jerseys wholesale
coach outlet
longchamp outlet
louis vuitton outlet
oakley sunglasses wholesale
hollister clearance
nike uk
jordan 3 powder blue
toms shoes
ralph lauren outlet
michael kors handbags
ray ban sunglasses
louis vuitton outlet stores
cheap rolex watches
louboutin femme

Hua Cai 说...

coach outlet online
kate spade uk
coach outlet online
jordan pas cher
ferragamo shoes
nike store uk
cheap snapbacks
juicy couture outlet
fitflops shoes
true religion jeans outlet
michael kors canada
nike air force 1
christian louboutin outlet
burberry sunglasses on sale
true religion canada
ray ban sunglasses
nike tn pas cher
hollister shirts
michael kors factory outlet
swarovski crystal
christian louboutin online
true religion outlet
true religion outlet uk
asics
nike air huarache
louis vuitton outlet
christian louboutin shoes
mulberry outlet
hollister clothing store
ralph lauren uk
fitflops sale clearance
ray ban sunglasses
ferragamo shoes
links of london
ray ban sunglasses
20160625caihuali

Qinan Chen 说...

20160922qiujie
hermes bags
polo ralph lauren outlet online
louis vuitton outlet online
nike free flyknit
ugg boots clearance
jordan retro
cheap jordan shoes
burberry outlet online
canada goose outlet
hugo boss suits

dong dong23 说...

christian louboutin uk
louis vuitton outlet
ugg boots
coach handbags
ralph lauren outlet
michael kors outlet
ugg boots
ugg outlet
canada goose
rolex watches
201612.15wengdongdong

Unknown 说...

ghd flat iron
ravens jerseys
hugo boss sale
boston celtics
fitflops
michael kors handbags sale
michael kors uk
michael kors handbags wholesale
oakley sunglasses
nike blazer

xumeiqing 说...

true religion outlet
coach outlet store online clearances
coach outlet
tods shoes
polo ralph lauren outlet
fred perry
san francisco giants jerseys
mulberry handbags
ralph lauren sale clearance
pandora charms
20170315huazhen

chenmeinv0 说...

abercrombie outlet
louis vuitton outlet
oakley sunglasses
kobe shoes
kevin durant shoes
cheap nhl jerseys
jordan femme
louis vuitton outlet
michael kors bags
michael kors canada
20175.26chenjinyan