Write a loop that reads positive integers from standard input, printing out those values that are greater than 100, each followed by a space, and that terminates when it reads an integer that is not positive.

Declare any variables that are needed.
Assume the availability of a variable, stdin, that references a Scanner object associated with standard input. That is, stdin = new Scanner(System.in); is given.

Here is the loop that fulfills the given requirements:

```java
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int num;

do {
num = stdin.nextInt();
if (num > 100) {
System.out.print(num + " ");
}
} while (num > 0);
}
}
```

In this loop, we use a do-while loop to ensure that at least one iteration will be executed, even if the user enters a non-positive integer immediately. Inside the loop, we read an integer from standard input using the `nextInt()` method of the `Scanner` object (`stdin`). We then check if the entered number is greater than 100 and if so, we print it followed by a space. The loop continues until the user enters a non-positive integer, at which point the condition `num > 0` becomes false and the loop terminates.