我如何获得 xjc? [英] How do I get xjc?

查看:22
本文介绍了我如何获得 xjc?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我一直在寻找与我一直在从事的项目的 xml 文件的接口,我想做的一件事是从 .dtd 文件生成 java 类.经过一番搜索,我发现 xjc 应该能够做我想做的事,但我一生都无法找到程序本身的来源.

So I've been looking at interfacing with xml files for a project I've been working on, and one of the things I want to do is generate java classes from a .dtd file. After some searching, I found out that xjc should be able to do what I want, but I cannot for the life of me find out where to get the program itself.

我觉得答案就在我面前,但我的 google-fu 现在真的让我失望了...

I feel like the answer is sitting right in front of me, but my google-fu is really failing me hardcore right now...

推荐答案

我在安装 java 时得到了它.它现在可能在您的系统上.查看java、javac等所在目录.

I got it when I installed java. It is probably on your system right now. Look in the directory where java, javac, etc are located.

这篇关于我如何获得 xjc?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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