---
name: "jv-scan-3.4"
section: "1"
platform: "linux"
package: "gcj-3.4"
version: "3.4.3-13sarge1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/jv-scan-3.4"
---

# jv-scan-3.4(1)

print information about Java source file

## NAME

jv-scan - print information about Java source file

## SYNOPSIS

jv-scan \[**--no-assert**\] \[**--complexity**\] \
     \[**--encoding**=*name*\] \[**--print-main**\] \
     \[**--list-class**\] \[**--list-filename**\]\
     \[**--version**\] \[**--help**\]\
     \[**-o** *file*\] *inputfile*...

## DESCRIPTION

The `"jv-scan"` program can be used to print information about a Java source file (*.java* file).

## OPTIONS

- **--no-assert**

  Don't recognize the `"assert"` keyword, for backwards compatibility with older versions of the language specification.

- **--complexity**

  This prints a complexity measure, related to cyclomatic complexity, for each input file.

- **--encoding=***name*

  This works like the corresponding **gcj** option.

- **--print-main**

  This prints the name of the class in this file containing a `"main"` method.

- **--list-class**

  This lists the names of all classes defined in the input files.

- **--list-filename**

  If `"--list-class"` is given, this option causes `"jv-scan"` to also print the name of the file in which each class was found.

- **-o** *file*

  Print output to the named file.

- **--help**

  Print help, then exit.

- **--version**

  Print version number, then exit.

## SEE ALSO

[*gcc*(1)](/gcc/1.md), [*gcj*(1)](/gcj/1.md), [*gcjh*(1)](/gcjh/1.md), [*gij*(1)](/gij/1.md), [*jcf-dump*(1)](/jcf-dump/1.md), [*gfdl*(7)](/gfdl/7.md), and the Info entries for *gcj* and *gcc*.

## COPYRIGHT

Copyright (c) 2001, 2002 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with the Invariant Sections being \`\`GNU General Public License'', the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below).  A copy of the license is included in the man page [*gfdl*(7)](/gfdl/7.md).

(a) The FSF's Front-Cover Text is:

```
     A GNU Manual
```

(b) The FSF's Back-Cover Text is:

```
     You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development.
```
