[在windows上使用Unix工具]SUA+Interix+SFU+Utilities and SDK for UNIX-based Applications

 

简介:

Interix / SFU (Services for Unix) 支持windowsxp 之前系统;

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=896c9688-601b-44f1-81a4-02878ff11778

 

(Utilities and SDK for UNIX-based Applications) 支持vista之后系统;

http://www.microsoft.com/DOWNLOADS/en/details.aspx?displaylang=en&FamilyID=dc03485b-629b-49a6-b5ef-18617d1a9804

 

SUA (Subsystem for Unix-based Applications) 对Interix / SFU或Utilities and SDK for UNIX-based Applications的功能的扩展;

http://www.suacommunity.com/SUA.aspx

 

Interix/SFU + SUA 和 Utilities and SDK for UNIX-based Applications  + SUA 是同一意思,都是指microsoft开发的在windows上运行的基于posix的unix子系统。此子系统是一个整体,可使用的unix命令不是单独的windows的exe,只能在posix环境下执行。

 

一 在windows7 中的安装

1)打开subsystem for unix based application

2)打开subsystem for unix based application

3)下载

4)下载

Utilities and SDK for UNIX-based Applications_AMD64.exe

Utilities and SDK for UNIX-based Applications_IA64.exe

Utilities and SDK for UNIX-based Applications_X86.exe

5)安装

6)安装选项

7)下载和安装SUA

下载SUA,然后安装

8)运行

 

二 功能

Utilities and SDK for UNIX-Based Applications is an add-on to the Subsystem for UNIX-Based Applications (referred to as SUA, hence forth) component that shipped in Microsoft Windows Vista / Windows Server 2008 RTM.
This consists of the following components:
- Base Utilities
- SVR-5 Utilities
- Base SDK
- GNU SDK
- GNU Utilities
- UNIX Perl
- Visual Studio Debugger Add-in

 

三 参考

http://www.suacommunity.com/SUA.aspx

http://www.interopsystems.com/

 

完!

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
为了连接到Oracle数据库,你需要使用Oracle提供的JDBC驱动程序。你可以从Oracle官方网站上下载并安装它。 以下是连接Oracle数据库的基本步骤: 1. 加载JDBC驱动程序 在Java程序中,你需要使用Class.forName()方法来加载JDBC驱动程序。例如,如果你使用的是Oracle 11g数据库,则需要加载oracle.jdbc.driver.OracleDriver类。 2. 创建数据库连接 使用DriverManager.getConnection()方法创建一个数据库连接。你需要提供数据库URL,用户名和密码等信息。 3. 创建Statement对象 使用Connection.createStatement()方法创建一个Statement对象,以便向数据库发送SQL语句。 4. 执行SQL语句 使用Statement.executeQuery()方法执行查询语句,使用Statement.executeUpdate()方法执行插入、更新和删除等操作。 5. 处理结果 使用ResultSet对象处理查询结果。 以下是一个示例代码片段,用于连接到Oracle数据库并执行简单的查询: ``` Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:ORCL", "username", "password"); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM employees"); while (rs.next()) { String name = rs.getString("name"); int age = rs.getInt("age"); System.out.println(name + ", " + age); } ``` 在这个示例中,我们使用了Oracle的JDBC驱动程序来连接到名为ORCL的数据库。我们使用了一个简单的查询来获取employees表中的数据,并将结果打印到控制台上。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值